The documentation site for gsx, built with VitePress and deployed to GitHub Pages at https://gsxhq.github.io/.
The guide pages are authored in the gsx repo under docs/guide/ and pulled in
at build time by scripts/sync-docs.mjs. Do not edit guide/ here — it is
generated and gitignored. Edit the Markdown in gsxhq/gsx instead.
Source resolution order for the sync: GSX_DOCS_SRC env → local sibling ../gsx →
shallow git clone.
npm install
npm run dev # syncs ../gsx/docs/guide, builds WASM, then starts both serversAfter editing ../gsx/docs/guide/*.md, restart npm run dev or run npm run sync
to refresh the copied guide pages.
npm run dev also starts the sibling playground backend from
../gsx/playground/server on http://localhost:8088, matching the frontend's
local API URL.
npm run build # copies guide content, then builds to .vitepress/dist
npm run preview