Giter Site home page Giter Site logo

cerus / java-documenter Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 97 KB

Generates Java documentation in form of a Markdown file.

License: GNU General Public License v3.0

Java 99.39% Batchfile 0.61%
java documentation documentation-tool documentation-generator

java-documenter's Introduction

GitHub Codacy Badge Discord All Contributors

java-documenter

Generates Java documentation in form of a Markdown file.

NOTE: This software does only work for java source files (.java) and not for compiled java files (.class)

Installation

From source:
Prerequisites: Git, Maven

  1. Clone this repository (git clone https://github.com/RealCerus/java-documenter)
  2. Build the jar (mvn package)
  3. The final jar is in the target folder

Releases:
GitHub Releases

Usage

java -jar javadocsgenerator-VERSION.jar --files=FILENAME.java,ANOTHER_FILENAME.java,... --output=JAVA_DOCS.md

NOTE: To use a class for documentation generation add a '@DocumentationScan' annotation over the class declaration and over every method which you want to use. Alternatively you can use java doc comments for methods.

Arguments:
--files: Required. Specifies the files that should be used for documentation generation.
--output: Optional. Will default to ./JAVA_DOC.md. Specifies the file in which the generated documentation should be saved.

Examples

src/main/java/example

Todo

  • Add wildcard support for file names
  • Implement some sort of annotation system to replace the '//DOC' comment (It's ugly)
  • Parse stuff like '@since 1.0.0' or '@param xy' from java doc comments
  • Make a GitHub Action
  • Make a Maven plugin
  • Implement feature requests

Contributors โœจ

Thanks goes to these wonderful people (emoji key):


Maximilian D.

๐Ÿ’ป ๐Ÿ“– ๐Ÿ’ก

This project follows the all-contributors specification. Contributions of any kind welcome!

License

This project is licensed under the GPLv3.

java-documenter's People

Contributors

allcontributors[bot] avatar cerus avatar

Watchers

 avatar  avatar

java-documenter's Issues

Contributors

This issue will be used to add contributors to the readme.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.