Skip to content

Commit a0ff914

Browse files
committed
Adds v1 docs
1 parent f23fd56 commit a0ff914

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919

2020
- run: |
2121
npm clean-install
22-
npm run docs
23-
npm run docs:json
22+
npm run v1:docs
23+
npm run v1:docs:json
2424
2525
- name: Publish
2626
uses: peaceiris/actions-gh-pages@v3

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
node_modules
22
dist
3-
docs
43
*.log
54

65
# nyc

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@
2727
"test": "run-s test:db && jest --runInBand",
2828
"test:clean": "cd test/db && docker-compose down",
2929
"test:db": "cd test/db && docker-compose down && docker-compose up -d && wait-for-localhost 3000",
30-
"docs": "typedoc --mode file --target ES6 --theme minimal",
31-
"docs:json": "typedoc --json docs/spec.json --mode modules --includeDeclarations --excludeExternals"
30+
"v1:docs": "typedoc --mode file --target ES6 --theme minimal --out docs/v1",
31+
"v1:docs:json": "typedoc --json docs/v1/spec.json --mode modules --includeDeclarations --excludeExternals",
32+
"v2:docs": "typedoc --mode file --target ES6 --theme minimal --out docs/v2",
33+
"v2:docs:json": "typedoc --json docs/v2/spec.json --mode modules --includeDeclarations --excludeExternals"
3234
},
3335
"dependencies": {
3436
"cross-fetch": "^3.1.5"

0 commit comments

Comments
 (0)