Skip to content

Commit 8e5fa76

Browse files
authored
Fix GitHub pages for auto-generated docs (#78)
jekyll doesn't work with file starting with underscore.
1 parent d89554c commit 8e5fa76

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/api/.nojekyll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.

ts/kpt-functions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"pretest": "npm run build",
2727
"test": "jasmine --config=jasmine.json",
2828
"posttest": "npm run lint",
29-
"gen-docs": "typedoc src"
29+
"gen-docs": "rm -rf ../../docs/api && typedoc src && echo '.' > ../../docs/api/.nojekyll"
3030
},
3131
"dependencies": {
3232
"argparse": "^1.0.10",

0 commit comments

Comments
 (0)