Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.01 KB

README.md

File metadata and controls

41 lines (28 loc) · 1.01 KB

yuidoc-bootstrap-theme

A revamped yuidoc theme with bootstrap.

Grab from npm via:

 npm install yuidoc-bootstrap-theme

https://www.npmjs.org/package/yuidoc-bootstrap-theme

When running yuidoc from command line: -t : themedir -H : helper js file

Ex.

yuidoc -t _location_/yuidoc-bootstrap-theme -H _location_/yuidoc-bootstrap-theme/helpers/helpers.js

When running with grunt it is best to use this as a submodule.

Then under yuidoc.json options add:

"themedir" : _location_/yuidoc-bootstrap-theme,
"helpers" : [ _location_/yuidoc-bootstrap-theme/helpers/helpers.js ]

Ex.

{
    "name": "Example",
    "url": "www.example.com",
    "version": "0.1.0",
    "options": {
        "paths": "_location to parse_",
        "outdir": "build/docs",
        "exclude": "lib,docs,build",
        "themedir": "_location_/yuidoc-bootstrap-theme",
        "helpers": ["_location_/yuidoc-bootstrap-theme/helpers/helpers.js"]
    }
}