add jsdoc3 build commands
run `npm run jsdoc` to generate api documentation in `jsdoc_build` Change-Id: Ica8202a10b1d2c2a35453637f600501a71e412b7 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -19,3 +19,4 @@ pids
|
|||||||
reports
|
reports
|
||||||
www
|
www
|
||||||
doc/build
|
doc/build
|
||||||
|
jsdoc_build
|
||||||
|
|||||||
@@ -9,7 +9,8 @@
|
|||||||
"posttest": "istanbul check-coverage",
|
"posttest": "istanbul check-coverage",
|
||||||
"prepublish": "nsp check",
|
"prepublish": "nsp check",
|
||||||
"lint": "eslint ./",
|
"lint": "eslint ./",
|
||||||
"doc": "(cd doc; make html)"
|
"doc": "(cd doc; make html)",
|
||||||
|
"jsdoc": "jsdoc generators -r -d jsdoc_build"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"yeoman-generator",
|
"yeoman-generator",
|
||||||
@@ -34,6 +35,7 @@
|
|||||||
"eslint-config-openstack": "^2.0.0",
|
"eslint-config-openstack": "^2.0.0",
|
||||||
"istanbul": "^0.4.2",
|
"istanbul": "^0.4.2",
|
||||||
"jasmine": "^2.4.1",
|
"jasmine": "^2.4.1",
|
||||||
|
"jsdoc": "^3.4.0",
|
||||||
"karma": "^0.13.22",
|
"karma": "^0.13.22",
|
||||||
"karma-htmlfile-reporter": "^0.2.2",
|
"karma-htmlfile-reporter": "^0.2.2",
|
||||||
"mem-fs": "^1.1.2",
|
"mem-fs": "^1.1.2",
|
||||||
|
|||||||
Reference in New Issue
Block a user