feat: enhanced build system — self-contained HTML web reader, deploy version, reportlab PDF with QR codes

- web-style.css: dark/light mode, responsive, EB Garamond typography
- HTML build: self-contained (embedded CSS) + deploy version (external CSS)
- Reading progress bar and back-to-top button injected via JS
- Reader footer with author credit and 988 crisis line
- All outputs consolidated in build/output/
- EPUB: 68KB, PDF: 143KB (reportlab), HTML: 3.7MB (self-contained)
This commit is contained in:
Alexander Whitestone
2026-04-10 23:52:00 -04:00
parent 2acc538fc4
commit aaf257ad5f
4 changed files with 2676 additions and 51 deletions

View File

@@ -542,7 +542,8 @@ def main():
print("=" * 50)
OUT_HTML = REPO / "testament.html"
for f in [OUT_MD, OUT_EPUB, OUT_PDF, OUT_HTML]:
OUT_HTML_DEPLOY = OUTPUT_DIR / "the-testament.html"
for f in [OUT_MD, OUT_EPUB, OUT_PDF, OUT_HTML, OUT_HTML_DEPLOY]:
if f.exists():
print(f"{f.relative_to(REPO)}")

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long