You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Build the production site:
22
22
npm run website:build
23
23
```
24
24
25
-
The Parcel website target uses `docs/public/index.html` as its source and writes the built site to `docs/build`.
25
+
The Parcel website target uses `docs/public/index.html` as its source and writes the built site to `docs/build`. After Parcel emits the interactive SPA bundle, `scripts/prerender.mjs` creates one HTML file per route and embeds sanitized, route-specific machine-readable content in each page's `<noscript>` fallback. It also writes `docs/build/llms-routes.json`, a structured manifest with route text, headings, code blocks, and links for agents that prefer JSON over HTML.
26
26
27
27
## Current Structure
28
28
@@ -91,6 +91,7 @@ Some documentation artifacts are generated or synchronized from source files:
91
91
92
92
- API JSON and component descriptions come from `npm run docs:api:json`.
93
93
- AI behavior contract sections are checked with `npm run check:ai-contracts` and regenerated with `npm run docs:ai-contracts`.
94
+
- Route-level machine-readable HTML and `llms-routes.json` are generated by `npm run website:build` after the Parcel docs build.
94
95
-`CLAUDE.md` is the primary assistant instruction source and is synced into other AI instruction files during the build pipeline.
95
96
96
97
Avoid hand-editing generated output unless the corresponding source cannot reasonably be updated.
<summarytype="text">Placement (M2) and density (M3) decided where notes land and how many fit. M5 makes that adapt to space and house style. It sheds secondary notes as the plot narrows, and chooses whether notes blend into the chart or read as a distinct editorial layer. M6 adapts to the reader and to reuse: scale annotation amount by audience familiarity, and mark a note defensive so it survives every export with its source and confidence baked in.</summary>
20
+
<summarytype="text">Semiotic already treated annotations as data-bound objects. Now it helps authors make design decisions with those objects: primary and secondary notes, inferred reading order from confidence, an accessibility audit hook, and an opt-in annotationLayout recipe that places notes near their targets while avoiding obvious collisions.</summary>
0 commit comments