Skip to content

Docs portal — deploy path and Starlight direction

Version: 1.2
Last Updated: 2026-08-06 14:38:00
Status: Astro Starlight ships in production build — pathways stay Calm Care HTML; library is Starlight + Pagefind search


LayerEngine
Hub, pathways, workflows, mapsdocs/10-MAPPINGS/ static HTML + portal-visual-v2.css
Specification library (101+ docs)docs-portal/ Astro Starlight — sidebar, Pagefind, Mermaid via markdown
REQ ↔ code/knowledge/ (PMB)
Deploy.\scripts\deploy-docs-portal.ps1 → Cloudflare Pages

Terminal window
.\scripts\build-docs-portal.ps1 -Full
  1. sync-starlight-content.ps1 — copies whitelisted docs/**/*.md → docs-portal/src/content/docs/
  2. npm run build in docs-portal/ → docs-portal/dist/
  3. Copy dist → docs-portal-dist/, overlay pathways/maps/legacy viewer, bundle knowledge

SurfaceURL
Starlight library home/ (splash) — site root redirect from build index.html → hub.html
Starlight doc/architecture/01-architecture/ etc.
Legacy Mermaid viewerspec-viewer.html?doc=… (kept for old links)