The official user-facing documentation site for GranClaw.
Design system: Scholarly Sanctuary — warm paper, serif ink, no hard lines. Stack: Astro 4 + Tailwind + MDX, Pagefind search, self-hosted fonts, fully static.
npm install
npm run dev # http://localhost:4321npm run build # astro build + pagefind + backlink check
npm run previewOutput goes to dist/. Fully static — serve from any CDN or static host.
npm test # playwright smoke test (builds first)- Create
src/content/docs/<section>/<slug>.mdwith frontmatter:--- title: My page description: One-sentence promise. section: getting-started tags: [optional, tags] backlinks: [other/slug] ---
- Add it to
src/config/sidebar.ts(explicit nav order, single source of truth). npm run dev— hot reload picks it up.npm run build— backlink validator confirms links resolve.
- No placeholders. Every page is real content.
- Users, not developers. No internals, no source tours.
- No lines. Boundaries are tonal, not bordered. See
SPEC.md §2. - Self-hosted. Fonts, search, assets all local. No external requests at runtime.
Architecture and design contract: SPEC.md. Implementation plan: PLAN.md.