Sfoglia il codice sorgente

Fix docs for new packages

Vidar Tonaas Fauske 5 anni fa
parent
commit
001e589012

+ 1 - 1
package.json

@@ -48,7 +48,7 @@
     "create:test": "node buildutils/lib/create-test-package.js",
     "create:theme": "node buildutils/lib/create-theme.js",
     "deduplicate": "jlpm yarn-deduplicate -s fewer",
-    "docs": "lerna run docs --ignore \"@jupyterlab/coreutils\" ",
+    "docs": "lerna run docs --ignore \"@jupyterlab/settingregistry\" ",
     "eslint": "eslint --fix .",
     "eslint:check": "eslint .",
     "get:dependency": "node buildutils/lib/get-dependency.js",

+ 1 - 1
packages/coreutils/package.json

@@ -27,7 +27,7 @@
   "scripts": {
     "build": "tsc -b",
     "clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
-    "docs": "typedoc src --tsconfig typedoc-tsconfig.json",
+    "docs": "typedoc src",
     "prepublishOnly": "npm run build",
     "watch": "tsc -b --watch"
   },

+ 1 - 1
packages/nbformat/package.json

@@ -28,7 +28,7 @@
   "scripts": {
     "build": "tsc -b",
     "clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
-    "docs": "typedoc src --tsconfig typedoc-tsconfig.json",
+    "docs": "typedoc src",
     "prepublishOnly": "npm run build",
     "watch": "tsc -b -w --listEmittedFiles"
   },

+ 6 - 0
packages/nbformat/typedoc.json

@@ -0,0 +1,6 @@
+{
+  "excludeNotExported": true,
+  "mode": "file",
+  "out": "../../docs/api/nbformat",
+  "theme": "../../typedoc-theme"
+}

+ 1 - 1
packages/settingregistry/package.json

@@ -26,7 +26,7 @@
   "scripts": {
     "build": "tsc -b",
     "clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
-    "docs": "typedoc src --tsconfig typedoc-tsconfig.json",
+    "docs": "typedoc src",
     "prepublishOnly": "npm run build",
     "watch": "tsc -b -w --listEmittedFiles"
   },

+ 6 - 0
packages/settingregistry/typedoc.json

@@ -0,0 +1,6 @@
+{
+  "excludeNotExported": true,
+  "mode": "file",
+  "out": "../../docs/api/settingregistry",
+  "theme": "../../typedoc-theme"
+}

+ 1 - 1
packages/statedb/package.json

@@ -26,7 +26,7 @@
   "scripts": {
     "build": "tsc -b",
     "clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
-    "docs": "typedoc src --tsconfig typedoc-tsconfig.json",
+    "docs": "typedoc src",
     "prepublishOnly": "npm run build",
     "watch": "tsc -b -w --listEmittedFiles"
   },

+ 6 - 0
packages/statedb/typedoc.json

@@ -0,0 +1,6 @@
+{
+  "excludeNotExported": true,
+  "mode": "file",
+  "out": "../../docs/api/statedb",
+  "theme": "../../typedoc-theme"
+}