Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

fix: place Astro docs output under /docs/ path for correct URL mapping

esengined3fa068a957f
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 4842154b4..502da90fa 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -44,9 +44,9 @@ jobs:
- name: Merge Documentation
run: |
- mkdir -p docs/dist/api
- cp -r docs/astro/dist/* docs/dist/
- cp -r docs/api/html docs/dist/api/
+ mkdir -p docs/dist/docs/api
+ cp -r docs/astro/dist/* docs/dist/docs/
+ cp -r docs/api/html docs/dist/docs/api/
cp docs/landing/index.html docs/dist/index.html
cp docs/landing/editor-screenshot.png docs/dist/editor-screenshot.png
cp docs/landing/robots.txt docs/dist/robots.txt