Skip to content

Commit c59565b

Browse files
committed
update docs config
1 parent ce7204e commit c59565b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Install dependencies
3838
run: npm install
3939
- name: Build
40-
run: npm run docs:build
40+
run: npm run typedoc && npm run docs:build
4141
- name: Setup Pages
4242
uses: actions/configure-pages@v5
4343
- name: Upload artifact

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
dist/
33

44
# typedoc
5-
docs/api/
5+
docs/pages/api/
66

77
# misc
88
.DS_Store

docs/.vitepress/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export default defineConfig({
66
description: "2D JavaScript library for cross-platform HTML5 game development",
77
srcDir: "./pages",
88
base: "/stage.js/docs/",
9+
outDir: "../dist/docs",
910
themeConfig: {
1011
// https://vitepress.dev/reference/default-theme-config
1112
search: {

0 commit comments

Comments
 (0)