0.4.6-pr266.1 ā€¢ Published 8 years ago

esdoc-pr266 v0.4.6-pr266.1

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

Owner Status Build Status Coverage Status Document

ESDoc

ESDoc is a documentation generator for JavaScript(ES6).

Feature

  • Generates detailed documentation.
  • Measures documentation coverage.
  • Integrate test codes into documentation.
  • Integrate manual into documentation.
  • ESDoc Hosting Service

Demo

  • ESDoc is self-hosting šŸ˜„

Install

npm install -g esdoc
esdoc -h

Usage

esdoc -c esdoc.json

Example

ā”œā”€ā”€ esdoc.json
ā””ā”€ā”€ src/MyClass.js

src/MyClass.js

/**
 * this is MyClass.
 */
export default class MyClass {
  /**
   * @param {number} param this is param.
   * @return {number} this is return.
   */
  method(param){}
}

esdoc.json

{
  "source": "./src",
  "destination": "./esdoc"
}

exec esdoc

esdoc -c esdoc.json
open ./esdoc/index.html

Document

please visit esdoc.org to see more documentation.

License

MIT

Author

Ryo Maruyama@h13i32maru