Skip to content

docs(book): complete the PDF + republish the dist with current content#31

Merged
ancongui merged 1 commit into
mainfrom
docs/book-complete-and-republish
Jun 16, 2026
Merged

docs(book): complete the PDF + republish the dist with current content#31
ancongui merged 1 commit into
mainfrom
docs/book-complete-and-republish

Conversation

@ancongui

Copy link
Copy Markdown
Contributor

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 in src/ 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.

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.
@ancongui ancongui merged commit 0a7de75 into main Jun 16, 2026
@ancongui ancongui deleted the docs/book-complete-and-republish branch June 16, 2026 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant