ub-jsdoc
Documentation template theme for JSDoc 3 based on minami theme. Inspired by godoc
Live sample is a UnityBase framework documentation
Features
- Designed for a framework with many modules inside
- Partial navigation
- Full Text Search with rank
- Cross-module navigation using {@link ClassName} instead of {module:ModuleName.ClassName}
- Links to MDN for a standard built-in objects
- Click on member name will navigate to source
- Compact layout on members
- Responsive design
Uses
Install
$ npm install --save-dev ub-jsdoc
For simple Cross-module navigation replace a js-doc templateHelper.js
with templateHelper.js-patched
Usage
Clone repository to your designated jsdoc
template directory, then:
$ jsdoc entry-file.js -t path/to/ub-jsdoc
Node.js Dependency
In your projects package.json
file add a generate script:
"script":
In your .jsdoc.json
file, add a template option.
"opts":
Example JSDoc Config
License
Licensed under the Apache2 license.