When a Thought Gets Stuck: A Family Guide to Pediatric OCD
Editable edition and offline EPUB build kit

Prerequisites: Python 3.9+ and Node.js 20+. No npm install or network access is needed for this kit.

1. Edit chapters, the introduction, the toolkit, or references in content/pages/. Keep section identifiers and public paths stable when making corrections.
2. Edit title, credits, chapter order or part titles in content/edition.json. Retain the complete set of pages for this edition.
3. From this directory, run: python3 scripts/build_ebook.py
4. Find the rebuilt book, editable ZIP and cover under public/downloads/.

The renderer under ebook/runtime/ uses the same Markdown and heading rules as the web edition. Layout is in ebook/style.css. Literata's font files and license are in ebook/fonts/. Book text, original cover, and layout terms are in ebook/rights.txt. The original build software is MIT-licensed under ebook/packaging-license.txt. The Markdown renderer carries the additional third-party notices in ebook/runtime/NOTICES.txt. The source fonts are from https://github.com/googlefonts/literata. Editions are built from one source snapshot so website links resolve to the same passages in the EPUB.

To read, open pediatric-ocd.epub in a reflowable EPUB 3 reading app. The entire book, its contents navigation, and the fonts work offline. External references require an internet connection.
