-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(package.json & doc.js): fix doc tool error. (#791)
- fix `npm run doc-* ` error - fix doc tool on the windows platform
- Loading branch information
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,12 +8,13 @@ const rimraf = require('rimraf'); | |
const runscript = require('runscript'); | ||
const ghpages = require('gh-pages'); | ||
const jsdoc = require('./jsdoc'); | ||
const path = require('path'); | ||
|
||
// The branch that pushing document | ||
const BRANCH = 'gh-pages'; | ||
const DOC_PUBLISHER_NAME = 'Auto Doc Publisher'; | ||
const DOC_PUBLISHER_EMAIL = '[email protected]'; | ||
process.env.PATH += `:${process.cwd()}/docs/node_modules/.bin`; | ||
process.env.PATH += `${path.delimiter}${process.cwd()}/docs/node_modules/.bin`; | ||
const EGG_VERSION = require('../package.json').version; | ||
const NODE_VERSION = require('../package.json').engines.node; | ||
|
||
|