Phase 5d: the whole guide is blocks — zoo and reference migrate - #15
Merged
Conversation
ch-problems, ch-experiments, ch-panels and ch-keys — the last four markup chapters — become block arrays. Every one of the 21 chapters now lives in src/content/chapters/; HelpModal is what the plan called for: the shell (TOC, hero, scroll-spy, part labels) plus the figure/widget snippets and their compute. - the problem bestiary and experiment cards were already data (problemCards.ts, experiments.ts); their grids render as widget islands, so the emitter reads the same sources for print - ch-panels' viz-list becomes a list block with a 'viz' variant - the keyboard map is a widget island (app-only; print drops it); the closing ∂ end-mark stays in the shell as the book's colophon glyph Verified: rendered text of ALL 21 sections byte-identical to main in both themes (71,688 / 71,710 chars — a doubled end-mark the byte-compare caught was fixed before commit); 24 problem cards, 12 experiment cards, 8 keyboard items all render; 194 tests, svelte-check clean. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Deploying gradient-lab with
|
| Latest commit: |
9001f35
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://5bc77827.gradient-lab.pages.dev |
| Branch Preview URL: | https://phase5d-zoo-reference.gradient-lab.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this does
The last four markup chapters — The landscape zoo, Things to try, Reading the panels, Keyboard — become block arrays. With this PR, all 21 chapters of the guide live in
src/content/chapters/, andHelpModal.svelteis exactly what the plan doc called for: the shell (TOC rail, hero, scroll-spy, part labels) plus the interactive islands and their figure compute.problemCards.ts,experiments.ts) — their grids now render as widget islands, so the future emitter reads the same sources to build the print bestiary and the exercise set.ch-panels' list becomes alistblock with avizvariant.Verified
svelte-check0 errors / 0 warnings, build cleanWhat this unlocks
The content migration is done. Next per the plan: the figure compute/render split with a
printtheme (kill the module-scope canvas, inject it,@napi-rs/canvasin Node), thenscripts/emit-latex.tswalkingchapterBlocks+ the kaobook skeleton + CI PDF.🤖 Generated with Claude Code