Przeglądaj źródła

Merge pull request #2179 from blink1073/api-docs

Build api docs to docs/api
Steven Silvester 8 lat temu
rodzic
commit
b275829635

+ 1 - 1
packages/all-packages/package.json

@@ -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": {

+ 1 - 1
scripts/travis_after_success.sh

@@ -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"