This forked is for supporting the automation tools. For original here.
- Before using
grunt
with this demo, running this command first
$ npm install
- If you want to create documentations with sample files, you can use commands below.
$ grunt demo
- You can see any output related jsdoc process with a
--debug
flag.
$ grunt demo --debug
- Using this workspace.
$ grunt build
- You can provide external source files or path, its destination path and config file by running this command.
$ grunt build --src-`source path` --dst=`destination path` --config=`configuration path`
- You can provide specific Gruntfile.js and combine with options from above.
$ grunt build --gruntfile `path of specific Gruntfile.js` --src-`source path` --dst=`destination path` --config=`configuration path`
- If you already have jsdoc system, you can use this project as jsdoc template.
$ jsdoc -t `project folder` -c `configuration file` `source files` `README.md file`
You can set options for customizing your documentations.
"templates": {
"applicationName": "",
"disqus": "",
"googleAnalytics": "",
"openGraph": {
"title": "",
"type": "website",
"image": "",
"site_name": "",
"url": ""
},
"meta": {
"title": "",
"description": "",
"keyword": ""
}
}
This project under the MIT License. and this project refered by default template for JSDoc 3.