Build api docs to docs/api
@@ -72,7 +72,7 @@
"scripts": {
"build": "tsc && node build.js",
"clean": "rimraf lib",
- "docs": "typedoc --mode modules --module commonjs --excludeNotExported --target es5 --moduleResolution node --name JupyterLab --out ../../docs/ .",
+ "docs": "typedoc --mode modules --module commonjs --excludeNotExported --target es5 --moduleResolution node --name JupyterLab --out ../../docs/api .",
"watch": "watch \"npm run build\" .. --wait 10 --filter=../../scripts/watch-filter.js"
},
"repository": {
@@ -7,7 +7,7 @@ if [[ $TRAVIS_PULL_REQUEST == false && $TRAVIS_BRANCH == "master" && $GROUP == "
then
echo "-- pushing docs --"
- ( cd docs
+ ( cd docs/api
git init
git config user.email "travis@travis-ci.com"
git config user.name "Travis Bot"