# ---------------------------------------------------------------------------
# Copyrighted material — never commit books.
# This project processes EPUBs; the books themselves belong to their
# publishers and must stay out of the repository. Bring your own files.
# ---------------------------------------------------------------------------
*.epub

# Exception: the sample books in examples/ are original text written for this
# repository (see examples/sample_text.py), not a real book, so they ship.
# NB: gitignore has no inline comments -- keep the pattern on its own line.
!examples/*.epub

# ---------------------------------------------------------------------------
# The original single-book script stays on the author's machine and out of the
# repository. It hardcodes one retail edition's internal file layout and its
# full bilingual table of contents, which is of no use to anyone else and is
# not something to publish. The file still runs locally; it is just not tracked.
# ---------------------------------------------------------------------------
/contrib/

# Build / packaging
build/
dist/
*.egg-info/
.eggs/

# Python
__pycache__/
*.py[cod]
.venv/
venv/
.pytest_cache/
.ruff_cache/
.mypy_cache/

# Working directories the tool creates
out/
split_out/
en/
zh/

# macOS
.DS_Store
