Publishing
GitHub Pages #
The docs/ directory is ready to serve as a GitHub Pages source.
The Markdown files are the source of truth. Static HTML files are generated from those Markdown files by docs/build.mjs.
Build Locally #
From the repository root:
node docs/build.mjsThe generator writes HTML files next to the Markdown source:
docs/index.htmldocs/product.htmldocs/architecture.htmldocs/workflow.htmldocs/agents.htmldocs/sandbox.htmldocs/cli-and-skill.htmldocs/roadmap.htmldocs/github-pages.html
It also uses:
docs/assets/site.cssdocs/assets/manual-map.svgdocs/.nojekyll
Publish With GitHub Pages #
In the repository settings:
- Open Settings.
- Open Pages.
- Set the source to Deploy from a branch.
- Choose the branch to publish.
- Choose the
/docsfolder. - Save the settings.
GitHub Pages will serve docs/index.html as the documentation home page.
Editing Docs #
Edit the Markdown files first. Then run:
node docs/build.mjsCommit both the Markdown source and generated HTML so the published site updates without a separate build system.