File tree 4 files changed +4
-445
lines changed 4 files changed +4
-445
lines changed Original file line number Diff line number Diff line change 2
2
# https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github
3
3
src /proto /compiled.js linguist-generated
4
4
src /proto /compiled.d.ts linguist-generated
5
-
6
- # https://api-extractor.com/pages/setup/invoking/
7
- * .json linguist-language =JSON-with-Comments
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ name: Update docs
2
2
3
3
on :
4
4
workflow_dispatch :
5
+ pull_request :
6
+ branches : [main]
5
7
release :
6
8
types : [released]
7
9
@@ -27,22 +29,17 @@ jobs:
27
29
28
30
- name : Install dependencies
29
31
run : |
30
- npm install -g @microsoft/api-extractor
31
-
32
- # https://github.com/microsoft/rushstack/issues/4586
33
- npm install -g @microsoft/[email protected]
32
+ npm install -g typedoc
34
33
35
34
- name : Re-generate docs
36
35
run : |
37
36
MAJOR_VERSION=v$(node -p "require('./package.json').version.split('.')[0]")
38
37
DOCS_OUTPUT_FOLDER=${GITHUB_WORKSPACE}/docs/${MAJOR_VERSION}
39
38
40
- mkdir -p ./etc
41
39
mkdir -p $DOCS_OUTPUT_FOLDER
42
40
43
41
npm ci
44
- npm run api:extract
45
- DOCS_OUTPUT_FOLDER=$DOCS_OUTPUT_FOLDER npm run api:document
42
+ typedoc --out $DOCS_OUTPUT_FOLDER src/index.ts --includeVersion
46
43
47
44
cd ${GITHUB_WORKSPACE}/docs
48
45
Original file line number Diff line number Diff line change 1
1
src /testdata /**
2
2
src /testutils /**
3
- api-extractor.json
You can’t perform that action at this time.
0 commit comments