documentation
a documentation generator
Last updated 7 years ago by tmcw .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ npm install documentation 
SYNC missed versions from official npm registry.

The documentation system for modern JavaScript

Circle CI npm version Gitter Inline docs

:date: Current maintenance status

  • Supports modern JavaScript: ES5, ES2017, JSX, Vue and Flow type annotations.
  • Infers parameters, types, membership, and more. Write less documentation: let the computer write it for you.
  • Integrates with GitHub to link directly from documentation to the code it refers to.
  • Customizable output: HTML, JSON, Markdown, and more

Examples

Documentation

User Guide

Globally install documentation using the npm package manager:

$ npm install -g documentation

This installs a command called documentation in your path, that you can point at JSDoc-annotated source code to generate human-readable documentation. First, run documentation with the --help option for help:

Usage:

# generate markdown docs for index.js and files it references
documentation build index.js -f md

# generate html docs for all files in src, and include links to source files in github
documentation build src/** -f html --github -o docs

# document index.js, ignoring any files it requires or imports
documentation build index.js -f md --shallow

# validate JSDoc syntax in util.js
documentation lint util.js

# update the API section of README.md with docs from index.js
documentation readme index.js --section=API

# build docs for all values exported by index.js
documentation build --document-exported index.js

# build html docs for a TypeScript project
documentation build index.ts --parse-extension ts -f html -o docs

Commands:
  build [input..]   build documentation
  lint [input..]    check for common style and uniformity mistakes
  readme [input..]  inject documentation into your README.md

Options:
  --version  Show version number                                       [boolean]
  --help     Show help                                                 [boolean]

Contributing

We have plenty of issues that we'd love 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 given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project.

Current Tags

  • 14.0.0-alpha.1                                ...           alpha (2 years ago)
  • 14.0.3                                ...           latest (10 months ago)
  • 10.0.0-alpha.0                                ...           prerelease (6 years ago)

119 Versions

  • 14.0.3                                ...           10 months ago
  • 14.0.2                                ...           a year ago
  • 14.0.1                                ...           2 years ago
  • 14.0.0                                ...           2 years ago
  • 14.0.0-alpha.1                                ...           2 years ago
  • 14.0.0-alpha.0                                ...           2 years ago
  • 13.2.5                                ...           4 years ago
  • 13.2.4                                ...           4 years ago
  • 13.2.3                                ...           4 years ago
  • 13.2.2                                ...           4 years ago
  • 13.2.1                                ...           4 years ago
  • 13.2.0                                ...           4 years ago
  • 13.1.1                                ...           4 years ago
  • 13.1.0                                ...           4 years ago
  • 13.0.2                                ...           4 years ago
  • 13.0.1                                ...           4 years ago
  • 13.0.0                                ...           5 years ago
  • 12.3.0                                ...           5 years ago
  • 12.2.0                                ...           5 years ago
  • 12.1.4                                ...           5 years ago
  • 12.1.3                                ...           5 years ago
  • 12.1.2                                ...           5 years ago
  • 12.1.1                                ...           5 years ago
  • 12.1.0                                ...           5 years ago
  • 12.0.3                                ...           5 years ago
  • 12.0.2                                ...           5 years ago
  • 12.0.1                                ...           5 years ago
  • 12.0.0                                ...           5 years ago
  • 11.0.1                                ...           5 years ago
  • 11.0.0                                ...           6 years ago
  • 10.1.0                                ...           6 years ago
  • 10.0.0                                ...           6 years ago
  • 10.0.0-alpha.0                                ...           6 years ago
  • 9.3.1                                ...           6 years ago
  • 9.3.0                                ...           6 years ago
  • 9.2.1                                ...           6 years ago
  • 9.2.0                                ...           6 years ago
  • 9.1.1                                ...           6 years ago
  • 9.1.0                                ...           6 years ago
  • 9.0.0                                ...           6 years ago
  • 9.0.0-alpha.1                                ...           6 years ago
  • 9.0.0-alpha.0                                ...           6 years ago
  • 8.1.2                                ...           6 years ago
  • 8.1.1                                ...           6 years ago
  • 8.1.0                                ...           6 years ago
  • 8.0.2                                ...           6 years ago
  • 8.0.1                                ...           6 years ago
  • 8.0.0                                ...           6 years ago
  • 7.1.0                                ...           6 years ago
  • 7.0.0                                ...           6 years ago
  • 6.3.3                                ...           7 years ago
  • 6.3.2                                ...           7 years ago
  • 6.3.1                                ...           7 years ago
  • 6.3.0                                ...           7 years ago
  • 6.2.0                                ...           7 years ago
  • 6.1.0                                ...           7 years ago
  • 6.0.0                                ...           7 years ago
  • 5.5.0                                ...           7 years ago
  • 5.4.0                                ...           7 years ago
  • 5.3.5                                ...           7 years ago
  • 5.3.4                                ...           7 years ago
  • 5.3.3                                ...           7 years ago
  • 5.3.2                                ...           7 years ago
  • 5.3.1                                ...           7 years ago
  • 5.3.0                                ...           7 years ago
  • 5.2.2                                ...           7 years ago
  • 5.2.1                                ...           7 years ago
  • 5.2.0                                ...           7 years ago
  • 5.1.1                                ...           7 years ago
  • 5.1.0                                ...           7 years ago
  • 5.0.1                                ...           7 years ago
  • 5.0.0                                ...           7 years ago
  • 4.0.0                                ...           7 years ago
  • 4.0.0-rc.1                                ...           8 years ago
  • 4.0.0-rc.0                                ...           8 years ago
  • 4.0.0-beta.19                                ...           8 years ago
  • 4.0.0-beta.18                                ...           8 years ago
  • 4.0.0-beta.17                                ...           8 years ago
  • 4.0.0-beta16                                ...           8 years ago
  • 4.0.0-beta15                                ...           8 years ago
  • 4.0.0-beta14                                ...           8 years ago
  • 4.0.0-beta13                                ...           8 years ago
  • 4.0.0-beta12                                ...           8 years ago
  • 4.0.0-beta11                                ...           8 years ago
  • 4.0.0-beta10                                ...           8 years ago
  • 4.0.0-beta9                                ...           8 years ago
  • 4.0.0-beta8                                ...           8 years ago
  • 4.0.0-beta7                                ...           8 years ago
  • 4.0.0-beta6                                ...           8 years ago
  • 4.0.0-beta5                                ...           8 years ago
  • 4.0.0-beta4                                ...           8 years ago
  • 4.0.0-beta3                                ...           8 years ago
  • 4.0.0-beta2                                ...           9 years ago
  • 4.0.0-beta1                                ...           9 years ago
  • 4.0.0-beta                                ...           9 years ago
  • 3.0.4                                ...           9 years ago
  • 3.0.3                                ...           9 years ago
  • 3.0.2                                ...           9 years ago
  • 3.0.1                                ...           9 years ago
  • 3.0.0                                ...           9 years ago
  • 2.1.0-alpha2                                ...           9 years ago
  • 2.1.0-alpha1                                ...           9 years ago
  • 2.1.0-alpha                                ...           9 years ago
  • 2.0.1                                ...           9 years ago
  • 2.0.0                                ...           9 years ago
  • 1.4.0                                ...           9 years ago
  • 1.3.2                                ...           9 years ago
  • 1.3.1                                ...           9 years ago
  • 1.3.0                                ...           9 years ago
  • 1.2.0                                ...           10 years ago
  • 1.1.0                                ...           10 years ago
  • 1.0.7                                ...           10 years ago
  • 1.0.6                                ...           10 years ago
  • 1.0.5                                ...           10 years ago
  • 1.0.4                                ...           10 years ago
  • 1.0.3                                ...           10 years ago
  • 1.0.2                                ...           10 years ago
  • 1.0.1                                ...           10 years ago
  • 1.0.0                                ...           10 years ago
Downloads
Total 246
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (48)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE