Skip to content

Commit 5d0fca7

Browse files
committed
Tweak typedoc args
1 parent 4bc22cc commit 5d0fca7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,13 @@ jobs:
7171
- name: Rebuild docs for tag
7272
if: env.VERSION != 'devel'
7373
run: |
74-
./node_modules/.bin/typedoc --includeVersion --out gh-pages/${VERSION} --sourceLinkTemplate "https://github.com/${{ github.repository }}/blob/${{ github.ref_name }}/src/{path}:{line}"
74+
./node_modules/.bin/typedoc --includeVersion --sourceLinkTemplate "https://github.com/${{ github.repository }}/blob/${{ github.ref_name }}/src/{path}:{line}" --out gh-pages/${VERSION}
7575
node -p 'var all=fs.readdirSync("gh-pages",{withFileTypes:true}).flatMap(f=>f.isDirectory()&&!isNaN(f.name.charAt(0))?[f.name]:[]).sort(require("semver").rcompare);JSON.stringify({all,stable:all.filter(s=>!s.includes("-"))})' > gh-pages/_data/versions.json
7676
7777
- name: Rebuild docs for devel
7878
if: env.VERSION == 'devel'
7979
run: |
80-
./node_modules/.bin/typedoc --out gh-pages/${VERSION} --sourceLinkTemplate https://github.com/${{ github.repository }}/blob/${{ github.sha }}/src/{path}:{line}
80+
./node_modules/.bin/typedoc --sourceLinkTemplate "https://github.com/${{ github.repository }}/blob/${{ github.sha }}/src/{path}:{line}" --out gh-pages/${VERSION}
8181
8282
- name: Commit to gh-pages
8383
uses: EndBug/add-and-commit@v9

0 commit comments

Comments
 (0)