documentation

14.0.3 • Public • Published

The documentation system for modern JavaScript

Circle CI npm version Gitter Inline docs

📅 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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
14.0.330,628latest
10.0.0-alpha.00prerelease
14.0.0-alpha.121alpha

Version History

VersionDownloads (Last 7 Days)Published
14.0.330,628
14.0.210,205
14.0.16,489
14.0.02,620
14.0.0-alpha.121
14.0.0-alpha.01
13.2.515,358
13.2.47
13.2.311
13.2.22
13.2.169
13.2.046
13.1.1150
13.1.0652
13.0.2280
13.0.17
13.0.039
12.3.02,340
12.2.0261
12.1.41,838
12.1.316
12.1.2247
12.1.115
12.1.00
12.0.340
12.0.212
12.0.10
12.0.00
11.0.1570
11.0.04
10.1.0445
10.0.02
10.0.0-alpha.00
9.3.11,479
9.3.014
9.2.10
9.2.00
9.1.17
9.1.03
9.0.03
9.0.0-alpha.11
9.0.0-alpha.02
8.1.2404
8.1.11
8.1.00
8.0.2324
8.0.10
8.0.02
7.1.013
7.0.00
6.3.3166
6.3.296
6.3.10
6.3.00
6.2.015
6.1.05
6.0.00
5.5.01,254
5.4.05
5.3.5116
5.3.40
5.3.31,027
5.3.2187
5.3.12
5.3.023
5.2.21
5.2.10
5.2.00
5.1.11
5.1.02
5.0.10
5.0.01
4.0.0300
4.0.0-rc.115
4.0.0-rc.0115
4.0.0-beta.1911
4.0.0-beta.1811
4.0.0-beta.171
4.0.0-beta164
4.0.0-beta152
4.0.0-beta140
4.0.0-beta130
4.0.0-beta120
4.0.0-beta111
4.0.0-beta101
4.0.0-beta91
4.0.0-beta80
4.0.0-beta70
4.0.0-beta60
4.0.0-beta515
4.0.0-beta40
4.0.0-beta31
4.0.0-beta20
4.0.0-beta10
4.0.0-beta0
3.0.482
3.0.31
3.0.20
3.0.10
3.0.04
2.1.0-alpha21
2.1.0-alpha10
2.1.0-alpha0
2.0.110
2.0.01
1.4.05
1.3.20
1.3.10
1.3.01
1.2.00
1.1.01
1.0.70
1.0.63
1.0.51
1.0.40
1.0.31
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i documentation

Weekly Downloads

64,236

Version

14.0.3

License

ISC

Unpacked Size

1.88 MB

Total Files

108

Last publish

Collaborators

  • mourner
  • jfirebaugh
  • tmcw
  • anandthakker
  • birkskyum