Docs hub portal — enhancement design
Version: 1.8
Last Updated: 2026-08-06 16:31:09
Status: Hybrid hub + Starlight — real app panel screenshots (brand/app/)
Related: 03-DESIGN-SYSTEM.md · 34-MARKDOWN-DOCUMENT-VIEWER.md · DOCS-PORTAL-DEPLOYMENT.md
1. Shipped
Section titled “1. Shipped”| Goal | Done |
|---|---|
| Brand fidelity | Heart+cross icon, tri-colour wordmark, LyncareOS_icon.png on hub/story |
| Truthful metrics | 8 live + 3 partial on Delivery + hub facts |
| Flow | Photography pathway cards (Why / Model / Build) + tools strip |
| Knowledge | Bundled under /knowledge/ via -Full deploy |
| Library UX | Sidebar + path search (native — Starlight not required) |
| Workflows | HTML step flows (Care Start, capture, commerce) + chip rail + inline step detail |
| Concept maps | Hub grid + five map pages with portal chrome; investor graph overlay nav |
| Knowledge UX | PMB rebuild on -Full; hub banner on /knowledge/*; delivery truth page |
| Starlight library | Shipped — docs-portal/ Astro build, Pagefind search, 101 specs, LynCareOS sidebar + hub links |
| Visual v2 | All 7 story chapters use brand/illustrations/; business figures polished; map canvas gradient |
| Mermaid | Starlight build renders diagrams at build time (rehype-mermaid + Playwright), framed in Calm Care cards |
| Link integrity | Dist audit: 0 broken HTTP targets. Root cause of “Stripe 404” when opening file:///…/10-MAPPINGS/*.html: root-absolute /billing/… resolves to the drive root. Fix: portalHref() rewrites those to ../../docs-portal-dist/…/index.html under file:; HTTP/Cloudflare unchanged. Prefer npx serve docs-portal-dist -l 8787. Guard also bans brand/marketing/ people imagery in portal HTML/JS. |
| Starlight theme v2.1 | lyncare-starlight.css — warm ambient bg, Plus Jakarta display headings, H2 accent bars, framed tables/code/Mermaid, themed sidebar/pagination; SiteTitle.astro wordmark fixed (no wrap); does not override Starlight semantic --sl-color-white/black/gray (fixes light-mode contrast) |
| Library landing | library-home.mdx splash — hero + CardGrid/LinkCard by area + story cards; hub “Starlight library” nav points here |
| Hub map cards | Photo-backed concept-map cards (product/marketing stills) — no toy SVG icons |
| Stable top nav | Same 8 items on every page (Home · Why · Model · Build · Domains · Flows · Specs · Delivery); JS highlights current; no more disappearing labels; apply-portal-nav.mjs in build |
| Photography-led hub | Real marketing photo hero + Calm Care product screenshots; 3 pathway cards; removed cluttered 6-tile strip and Starlight bridge banner |
| Pathway heroes | Story / Model / Build / Domains / Flows use marketing + product imagery; chapter links go to Starlight routes |
| Interactive diagrams | .diag / .diag-card system across story/model/build; hub architecture is HTML layer stack with live insight panel; domains stack + archetype grid + discover stage use product photos + cards (no juvenile SVG bars/orbits) |
| App imagery only | Hub/story/discover use brand/app/* captured from the live app via Playwright (run-panel-screenshots.ps1). Invented brand/calmcare mockups banned by audit. |
| Deploy | .\scripts\deploy-docs-portal.ps1 — 2026-08-06 16:19 (preview 2c515a12) |
2. Open product notes (not blockers)
Section titled “2. Open product notes (not blockers)”- Breathing board — keep documented as unreachable until CM-P2.
- Access MFA — recommended on Cloudflare Access Allow policy (dashboard).
- Full-text body search — path search ships; content index is a later native enhancement.
3. Non-goals (confirmed)
Section titled “3. Non-goals (confirmed)”- Public docs product surface
- Starlight scaffolding unless explicitly requested
- Git / GitHub Actions as the release path