- Notifications
You must be signed in to change notification settings - Fork486
📖 documentation for modern JavaScript
License
documentationjs/documentation
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The documentation system for modern JavaScript
- Supports modern #"http://flowtype.org/" rel="nofollow">Flow
- Getting Started: start here
- Usage: how to use documentation.js
- Recipes: tricks for writing effective JSDoc docs
- Node API: documentation.js's self-generated documentation
- Configuring documentation.js
- FAQ
- Troubleshooting
- Theming: tips for theming documentation output in HTML
- See also: a list of projects similar to documentation.js
Globally installdocumentation
using thenpm package manager:
$ npm install -g documentation
This installs a command calleddocumentation
in your path, that you canpoint atJSDoc-annotated source code to generatehuman-readable documentation. First, rundocumentation
with the--help
option for help:
Usage:# generate markdown docs for index.js and files it referencesbin/documentation.js build index.js -f md# generate html docs for all files in srcbin/documentation.js build src/** -f html -o docs# document index.js, ignoring any files it requires or importsbin/documentation.js build index.js -f md --shallow# build and serve HTML docs for app.jsbin/documentation.js serve app.js# build, serve, and live-update HTML docs for app.jsbin/documentation.js serve --watch app.js# validate JSDoc syntax in util.jsbin/documentation.js lint util.js# update the API section of README.md with docs from index.jsbin/documentation.js readme index.js --section=API# build docs for all values exported by index.jsbin/documentation.js build --document-exported index.jsCommands: serve [input..] generate, update, and display HTML documentation build [input..] build documentation lint [input..] checkfor common style and uniformity mistakes readme [input..] inject documentation into your README.mdOptions: --version Show version number [boolean] --help Showhelp [boolean]
We have plenty ofissues that we'dlove help with.
- Robust and complete
JSDoc
support, including typedefs. - Strong support for HTML and Markdown output
- Documentation coverage, statistics, and validation
documentation is an OPEN Open Source Project. This means that:
Individuals making significant and valuable contributions are givencommit-access to the project to contribute as they see fit. Thisproject is more like an open wiki than a standard guarded open source project.
About
📖 documentation for modern JavaScript
Topics
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.