CI and Pages
The documentation site lives in docs/ and uses Starlight with pnpm.
Local Commands
Section titled “Local Commands”cd docspnpm installpnpm devpnpm buildThe local preview path includes the base path:
http://127.0.0.1:4321/webview_allThe Simplified Chinese documentation path is:
http://127.0.0.1:4321/webview_all/zhGitHub Pages
Section titled “GitHub Pages”The workflow file is .github/workflows/docs.yml. It runs on every push to main and on manual dispatch.
Build flow:
- Checks out the repository.
- Installs pnpm 10.19.0.
- Installs Node 22 with pnpm caching enabled.
- Runs
pnpm install --frozen-lockfileindocs/. - Runs
pnpm build. - Uploads
docs/dist. - Deploys with GitHub Pages Actions.
Production URL
Section titled “Production URL”Astro config:
site: 'https://abandoft.github.io',base: '/webview_all',Deployed URL:
https://abandoft.github.io/webview_allSimplified Chinese URL:
https://abandoft.github.io/webview_all/zhIn GitHub repository settings, Pages source must be set to GitHub Actions.