hokaccha / esdoc

Documentation Generator For JavaScript(ES6)

Home Page:https://esdoc.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Coverage Status

ESDoc

ESDoc is a documentation generator for JavaScript(ES6).

Feature

  • Generates detailed document.
  • Measures document coverage.
  • Cross reference of test and document.
  • Targets at ES6 class and import/export style.

Demo

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

License

MIT

About

Documentation Generator For JavaScript(ES6)

https://esdoc.org

License:MIT License


Languages

Language:JavaScript 91.2%Language:CSS 4.8%Language:HTML 4.0%