Skip to content

tantaman/jsonDoclet

Repository files navigation

jsonDoclet

A Javadoc Doclet that generates JSON from your Javadocs.

Usage

  1. Download the standalone release (includes all dependencies)
  2. run the doclet with javadoc:
  javadoc \
    -doclet com.tantaman.doc.JsonDoclet \
    -docletpath path/to/jsonDoclet.jar \
    -sourcepath path/to/your/java/src \
    -subpackages your-root-package

Output will be placed into the ./docs directory relative to where you ran javadoc. It creates one .json file per class.

See Oracle's docs for more information on how to run javadoc from the command line.

License

Copyright © 2014 Matt Crinklaw

Distributed under the Eclipse Public License, the same as Clojure.

About

Generate JSON from Javadoc comments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published