Skip to content

Commit 981a018

Browse files
committed
ci: add typedoc deployment
1 parent 47e6793 commit 981a018

File tree

7 files changed

+25
-13
lines changed

7 files changed

+25
-13
lines changed

.github/workflows/release-docs.yml

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,28 @@ jobs:
2020
with:
2121
node-version: 18
2222

23-
- run: npm install
24-
- run: npm run build
25-
- run: |
23+
- name: Install dependencies
24+
run: npm install
25+
26+
- name: Build packages
27+
run: npm run build
28+
29+
- name: Build demo
30+
run: |
2631
cd demo
2732
npm install
2833
npm run build-all
29-
- run: |
34+
35+
- name: Build vuepress
36+
run: |
3037
cd docs
3138
npm install
32-
- run: npm run build-docs
39+
npm run build-docs
3340
34-
- name: Deploy
41+
- name: Build Typedoc
42+
run: npm run typedoc
43+
44+
- name: Deploy main
3545
if: github.ref == 'refs/heads/main'
3646
uses: JamesIves/github-pages-deploy-action@4.1.7
3747
with:
@@ -64,4 +74,12 @@ jobs:
6474
with:
6575
branch: gh-pages
6676
folder: docs/src/.vuepress/dist
67-
target-folder: ./beta
77+
target-folder: ./beta
78+
79+
- name: Deploy Typedoc
80+
if: github.ref == 'refs/heads/main'
81+
uses: JamesIves/github-pages-deploy-action@4.1.7
82+
with:
83+
branch: gh-pages
84+
folder: typedoc
85+
target-folder: ./typedoc

ant/typedoc.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22
"$schema": "https://typedoc.org/schema.json",
33
"entryPoints": ["dist/index.d.ts"],
44
"tsconfig": "tsconfig.typedoc.json",
5-
"includeVersion": true
65
}

core/typedoc.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22
"$schema": "https://typedoc.org/schema.json",
33
"entryPoints": ["src/index.ts"],
44
"tsconfig": "tsconfig.app.json",
5-
"includeVersion": true,
65
}

element-plus/typedoc.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22
"$schema": "https://typedoc.org/schema.json",
33
"entryPoints": ["dist/index.d.ts"],
44
"tsconfig": "tsconfig.typedoc.json",
5-
"includeVersion": true
65
}

light/typedoc.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22
"$schema": "https://typedoc.org/schema.json",
33
"entryPoints": ["dist/index.d.ts"],
44
"tsconfig": "tsconfig.typedoc.json",
5-
"includeVersion": true
65
}

quasar/typedoc.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22
"$schema": "https://typedoc.org/schema.json",
33
"entryPoints": ["dist/index.d.ts"],
44
"tsconfig": "tsconfig.typedoc.json",
5-
"includeVersion": true
65
}

vuetify/typedoc.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22
"$schema": "https://typedoc.org/schema.json",
33
"entryPoints": ["dist/index.d.ts"],
44
"tsconfig": "tsconfig.typedoc.json",
5-
"includeVersion": true
65
}

0 commit comments

Comments
 (0)