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
1. Decision: hybrid owner bundle
Section titled “1. Decision: hybrid owner bundle”| Layer | Engine |
|---|---|
| Hub, pathways, workflows, maps | docs/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 |
2. Build pipeline
Section titled “2. Build pipeline”.\scripts\build-docs-portal.ps1 -Fullsync-starlight-content.ps1— copies whitelisteddocs/**/*.md→docs-portal/src/content/docs/npm run buildindocs-portal/→docs-portal/dist/- Copy dist →
docs-portal-dist/, overlay pathways/maps/legacy viewer, bundle knowledge
3. Starlight vs legacy viewer
Section titled “3. Starlight vs legacy viewer”| Surface | URL |
|---|---|
| Starlight library home | / (splash) — site root redirect from build index.html → hub.html |
| Starlight doc | /architecture/01-architecture/ etc. |
| Legacy Mermaid viewer | spec-viewer.html?doc=… (kept for old links) |