Unified documentation site for the anolishq organization.
This repository builds a VitePress site that combines:
- Hand-authored org-level docs (
docs/index.md,docs/architecture,docs/guides,docs/repos/index.md) - Aggregated repository docs pulled from each repo's
/docsdirectory - Generated reference docs for API and protocol surfaces
- Node.js
>=20 pnpm(workspace usespnpm-lock.yaml)- Git access to repositories listed in
data/repos.json
Install dependencies:
pnpm install --frozen-lockfileRun local docs dev server:
pnpm devBuild full site (aggregate + reference + VitePress):
pnpm buildpnpm build also injects the pinned published schema artifacts into docs/public/schemas/anolis/
before reference generation, so local builds match the Pages build path.
Preview built output:
pnpm previewdocs/: site source pages and VitePress configdata/repos.json: source-of-truth list of repos to aggregatescripts/aggregate.mjs: clones repos and copies docs intodocs/repos/scripts/generate-reference.mjs: generatesdocs/reference/from configured spec inputs.github/workflows/: PR checks and Pages deploy workflows
These paths are generated at build time and are intentionally gitignored:
docs/repos/(exceptdocs/repos/index.md)docs/reference/.tmp/docs/.vitepress/dist/
Do not manually edit generated files. Change source repos or generator scripts instead.
- Build fails during aggregation:
Confirm each repo/path in
data/repos.jsonexists and is accessible. - Reference generation fails:
Confirm required
specPathdirectories exist in source repos and that the pinned schema release inschemas/anolis-version.jsonis published and reachable. - Dead-link build errors: Update links or generated content. Dead-link checks are intentionally strict.
- Local
pnpmin WSL fails to findnode: Run build via Windows shell (cmd.exe /c pnpm build) in this environment.