caelum0x 74cd272200 feat(docs-site): publish repo docs/ as site pages and add discovery diagrams
Load the 253 hand-written Markdown files under docs/ through the existing
compileSite pipeline, published under /docs/** with README->index mapping,
internal .md link rewriting, and folder-grouped navigation (254 pages incl.
a /docs landing). Add standalone-image support to the Markdown renderer
(same-origin-only sources matching the img-src 'self' CSP, semantic <figure>
with figcaption, lazy/async loading) and wire the new hero phase-portrait and
discovery-loop SVG diagrams into the landing and getting-started pages.

- load-docs.mjs: fs-backed docs loader (deterministic sorted discovery)
- markdown.ts: image block kind, parser, renderer, alt indexed for search
- theme.ts: .docs-figure styling
- content.ts: hero.svg + loop.svg on / and /getting-started
- tests: image rendering + docs-corpus coverage; determinism preserved

254 pages render; 12/12 tests pass; two renders byte-identical.
2026-08-18 23:47:49 +03:00

5 lines
2.6 KiB
XML