Skip to content

Commit 60d99fa

Browse files
committed
more
1 parent dfa4468 commit 60d99fa

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/docs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ jobs:
4141
- name: npm ci
4242
run: npm ci --foreground-scripts
4343

44+
- name: npm run docs
45+
run: npm run docs
46+
4447
# - name: Setup Pages
4548
# uses: actions/configure-pages@v5
4649

npm-scripts.mjs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,6 @@ async function run() {
104104

105105
case 'release': {
106106
checkRelease();
107-
generateDocs();
108-
executeCmd('git add docs');
109107
executeCmd(`git commit -am '${PKG.version}'`);
110108
executeCmd(`git tag -a ${PKG.version} -m '${PKG.version}'`);
111109
executeCmd(`git push origin ${RELEASE_BRANCH}`);
@@ -117,7 +115,6 @@ async function run() {
117115

118116
case 'docs': {
119117
generateDocs();
120-
executeCmd('open-cli docs/index.html');
121118

122119
break;
123120
}
@@ -214,10 +211,7 @@ function checkRelease() {
214211
function generateDocs() {
215212
logInfo('generateDocs()');
216213

217-
// NOTE: typedoc options are given in tsconfig.json.
218-
// NOTE: .nojekyll is required, otherwise GitHub pages will ignore
219-
// generated HTML files with underscore.
220-
executeCmd('typedoc && touch docs/.nojekyll');
214+
executeCmd('typedoc');
221215
}
222216

223217
function checkDocs() {

0 commit comments

Comments
 (0)