work on book 2, also redo of the book title, and code name for Phelan

This commit is contained in:
2026-03-16 13:23:32 -05:00
parent 1b8ecb5923
commit fd7ec3d778
22 changed files with 61 additions and 63 deletions

View File

@@ -217,9 +217,9 @@ def build_title_page(title: str, subtitle: str, author: str) -> epub.EpubHtml:
def build_epub(args) -> Path:
"""Build the EPUB file and return its path."""
book_num = args.book
title = args.title or "The Unbreakable Curse"
title = args.title or "The Floundry Affair"
author = args.author or "Phillip Tarrant"
subtitle = f"Book {book_num} of The Shade Series"
subtitle = f"A Phelan Varrant Novel — Book {book_num}"
chapter_dir = ROOT / "chapters" / f"book{book_num}"
if not chapter_dir.exists():
@@ -232,7 +232,7 @@ def build_epub(args) -> Path:
# --- Create the EPUB book ---
book = epub.EpubBook()
book.set_identifier(f"shade-series-book{book_num}")
book.set_identifier(f"phelan-varrant-book{book_num}")
book.set_title(f"{title}: {subtitle}")
book.set_language("en")
book.add_author(author)
@@ -421,7 +421,7 @@ def main():
)
parser.add_argument(
"--title",
help="Book title (default: The Unbreakable Curse)",
help="Book title (default: The Floundry Affair)",
)
parser.add_argument(
"--author",