Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

Commit 26187d2

Browse files
committed
Moved docs gen over
1 parent d9a59aa commit 26187d2

File tree

38 files changed

+1676
-490
lines changed

38 files changed

+1676
-490
lines changed

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dist/docs.js

package-lock.json

Lines changed: 197 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,18 @@
44
"version": "0.0.1",
55
"description": "Capacitor Site",
66
"scripts": {
7-
"docs": "",
7+
"docs-typedoc": "typedoc --exclude **/__test__/*.ts --json dist/docs.json --mode modules --includeDeclarations node_modules/@capacitor/core/dist/esm/core-plugin-definitions.d.ts",
8+
"docs-genhtml": "node scripts/docs.js",
9+
"docs-typedoc": "npm run docs-typedoc && npm run docs-genhtml",
10+
"docs": "npm run docs-typedoc",
811
"docs-old": "tsc --p ./scripts && node ./scripts/markdown-to-html && cd ../core && npm run docs",
912
"site-structure": "tsc --p ./scripts && node ./scripts/site-structure",
1013
"build": "npm run site-structure && npm run docs && stencil build --prerender",
1114
"start": "npm run site-structure && npm run docs && stencil build --dev --watch --serve",
1215
"serve": "stencil build --dev --watch"
1316
},
1417
"devDependencies": {
18+
"@capacitor/core": "^2.1.2",
1519
"@ionic-internal/sites-shared": "0.0.7",
1620
"@stencil/core": "^1.14.0",
1721
"@stencil/helmet": "^0.3.2",
@@ -30,6 +34,7 @@
3034
"node-fetch": "^2.6.0",
3135
"prismic-javascript": "^2.7.1",
3236
"prismjs": "1.16.0",
37+
"typedoc": "^0.17.7",
3338
"workbox-build": "3.4.1"
3439
},
3540
"author": "Ionic Team",

0 commit comments

Comments
 (0)