Local development
This guide covers the standard local workflow for working on anolishq.github.io.
Prerequisites
- Node.js
>=20 pnpminstalled- Git access to the repositories listed in
data/repos.json
Install
bash
pnpm install --frozen-lockfileRun docs locally
bash
pnpm devThis starts the VitePress development server for the docs/ directory.
Build the site
bash
pnpm buildThe steps it runs are listed in Full build flow.
Preview production output
bash
pnpm previewCommon issues
- Build fails while aggregating: Check
data/repos.jsonand confirm each repo has the configured docs path. - Missing pages in sidebar: Confirm each section has markdown files with valid
index.mdorREADME.mdentry points where expected. - Build fails while injecting schemas: Confirm the
anolisrefindata/repos.jsonexists as a GitHub release with the expected schema tarball assets. - Broken links after docs changes: Run a full
pnpm buildbefore opening a PR.
