Skip to content

Commit

Permalink
Docs: switch to jsdoc from esdoc
Browse files Browse the repository at this point in the history
I have stopped a use of ES2015 Modules, so ESDoc is not working now.
  • Loading branch information
mysticatea committed May 11, 2016
1 parent 9d050ab commit 62d868b
Show file tree
Hide file tree
Showing 16 changed files with 25 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/bin
/coverage
/esdoc
/jsdoc
/lib
/node_modules
/npm-debug.log
Expand Down
2 changes: 0 additions & 2 deletions docs/node-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,3 @@ Run npm-scripts.

`runAll` returns a promise that will becomes *fulfilled* when all scripts are completed.
The promise will become *rejected* when any of the scripts exit with a non-zero code.

See also: https://doc.esdoc.org/github.com/mysticatea/npm-run-all/
13 changes: 0 additions & 13 deletions esdoc.json

This file was deleted.

10 changes: 10 additions & 0 deletions jsdoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"source": {
"include": ["src/lib", "README.md"]
},
"opts": {
"destination": "jsdoc",
"encoding": "utf8",
"recurse": true
}
}
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
"preversion": "npm run build",
"postversion": "git push && git push --tags",
"pretest": "node scripts/make-slink.js",
"clean": "rimraf bin coverage docs lib",
"clean": "rimraf bin coverage esdoc lib",
"lint": "eslint src test \"test-workspace/tasks/*\"",
"build": "babel-node src/bin/run-s/index.js clean lint build:*",
"build:babel": "babel src --out-dir .",
"build:esdoc": "esdoc -c esdoc.json",
"build:jsdoc": "jsdoc -c jsdoc.json",
"test": "npm run lint && babel-node node_modules/isparta/bin/isparta cover node_modules/mocha/bin/_mocha -- test/*.js --timeout 60000",
"watch": "mocha test/*.js --require babel-register --timeout 60000 --watch --growl",
"coveralls": "cat coverage/lcov.info | coveralls"
Expand All @@ -49,11 +49,10 @@
"babel-preset-es2015": "^6.3.13",
"babel-register": "^6.4.3",
"coveralls": "^2.11.4",
"esdoc": "^0.4.3",
"esdoc-importpath-plugin": "^0.0.1",
"eslint": "^2.9.0",
"eslint-config-mysticatea": "^3.0.0",
"isparta": "^4.0.0",
"jsdoc": "^3.4.0",
"mocha": "^2.3.4",
"power-assert": "^1.2.0",
"rimraf": "^2.4.4"
Expand Down
1 change: 1 addition & 0 deletions src/lib/create-header.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/**
* @module create-header
* @author Toru Nagashima
* @copyright 2016 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
Expand Down
1 change: 1 addition & 0 deletions src/lib/create-prefix-transform-stream.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/**
* @module create-prefix-transform-stream
* @author Toru Nagashima
* @copyright 2016 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
Expand Down
1 change: 1 addition & 0 deletions src/lib/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/**
* @module index
* @author Toru Nagashima
* @copyright 2015 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
Expand Down
1 change: 1 addition & 0 deletions src/lib/match-tasks.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/**
* @module match-tasks
* @author Toru Nagashima
* @copyright 2015 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
Expand Down
1 change: 1 addition & 0 deletions src/lib/read-package-json.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/**
* @module read-package-json
* @author Toru Nagashima
* @copyright 2016 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
Expand Down
1 change: 1 addition & 0 deletions src/lib/run-task.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/**
* @module run-task
* @author Toru Nagashima
* @copyright 2015 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
Expand Down
1 change: 1 addition & 0 deletions src/lib/run-tasks-in-parallel.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/**
* @module run-tasks-in-parallel
* @author Toru Nagashima
* @copyright 2015 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
Expand Down
1 change: 1 addition & 0 deletions src/lib/run-tasks-in-sequencial.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/**
* @module run-tasks-in-sequencial
* @author Toru Nagashima
* @copyright 2015 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
Expand Down
1 change: 1 addition & 0 deletions src/lib/spawn-posix.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/**
* @module spawn-posix
* @author Toru Nagashima
* @copyright 2015 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
Expand Down
1 change: 1 addition & 0 deletions src/lib/spawn-win32.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/**
* @module spawn-win32
* @author Toru Nagashima
* @copyright 2015 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
Expand Down
1 change: 1 addition & 0 deletions src/lib/spawn.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/**
* @module spawn
* @author Toru Nagashima
* @copyright 2015 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
Expand Down

0 comments on commit 62d868b

Please sign in to comment.