Everything the /diff/ workspace shell render needs. The diff data itself
is not templated — it ships as timeline.json + revisions/<id>.json and
is hydrated client-side by islands/diff.js into #docgen-diff-root.
One section card on the home dashboard: a top-level folder (“section”), the
number of docs in it, and a link to its first page. Mirrors the original
home’s sectionCards.
Everything the editor’s live-preview document render needs. The body is the
already-rendered inner HTML (run through the same per-doc pipeline as a build);
the flags gate the same conditional asset links a published page uses.
The built-in /diff/ workspace shell template, embedded at compile time.
The page is a mount point (#docgen-diff-root) hydrated by islands/diff.js
from the build-time timeline.json + revisions/<id>.json payloads.
The dev editor’s live-preview document template, embedded at compile time.
Content-only (no app chrome): the rendered article wrapped in the SAME asset
and island stack a published page uses, so a doc previewed in the editor
renders identically to its built page (mermaid, components, tooltips, math).