API documentation generator for JavaScript from comments in the code
open sourceApache-2.0free
JSDoc generates an HTML documentation website from /** ... */ comments written next to JavaScript code, much as Javadoc does for Java. Tags such as @param, @returns, @class and @module describe modules, namespaces, classes, functions and their parameters, with examples for ES2015 classes and modules, CommonJS and AMD. It runs as a command-line tool installed from npm, reads a configuration file, and can add tutorials, a README and package details to the output. The default template is configurable, the community publishes other templates, and plugins extend it, including a bundled Markdown plugin.
Problems it solves
- generate API documentation for my JavaScript library from its comments
- publish an HTML reference for my Node.js module
- document the parameters and return values of my JavaScript functions in comments and turn them into a website
Features
- HTML API docs generated from /** */ comments
- block and inline tags for modules, classes, functions and parameters
- configuration file and command-line options
- configurable default template and community templates
- plugins, including a Markdown plugin
- tutorials, README and package file in the output
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Takes plugins | plan not known |
Alternatives
The same job
These do what JSDoc does.
- Doxygen Code documentation. Automated. Free, open source, cross-platform.