docs(book): complete the PDF + republish the dist with current content#31
Merged
Conversation
The published dist (firefly-rust-by-example.{pdf,epub}) was stale — built
before the README/book audits (#26/#27) and the new framework features
(declarative rollback rules #29, #[http_client] #30). Regenerated against
current content and completed the manifest.
- book.yaml: added the three chapters that existed in src/ but were omitted
from the curated PDF manifest, renumbered the book contiguously 1–26:
- ch6 "Application Bootstrap" (04b-bootstrap.md, Part I)
- ch9 "OpenAPI & API Documentation" (06a-openapi.md, Part II)
- ch18 "Layered Microservices" (22-layered-microservices.md, Part IV)
(introduction.md stays excluded — the PDF has its own front matter.)
- gen_openers.py: three new on-brand 720x300 chapter openers (s_bootstrap,
s_openapi, s_layered) in the established style; switched the kicker numbers
to an explicit reading-order list so every "CHAPTER N" matches book.yaml.
The 18 ch06–ch23 openers changed only because their kicker number shifted;
ch01–ch05 are byte-identical.
- dist: regenerated PDF (485 -> 519 pages, +3 chapters) and EPUB. The new
#[http_client] (ch13) and #[transactional] rollback-rules (ch8) sections
now render in the published book.
Built with the WeasyPrint pipeline (docs/book/build-book.sh; venv +
weasyprint 69). Docs-only — no crate or version change.
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.
Regenerates the stale published dist (PDF/EPUB) against current content — capturing the README/book audits (#26/#27) and the new
#[http_client](#30) and#[transactional]rollback-rules (#29) sections — and completes the book: adds the 3 chapters that existed insrc/but were missing from the curated PDF manifest (Application Bootstrap,OpenAPI & API Documentation,Layered Microservices), renumbered 1–26, each with a new on-brand chapter opener.PDF: 485 → 519 pages. Docs-only; no crate/version change. Built with the WeasyPrint pipeline.