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:
@@ -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.
2316
build/output/the-testament.html
Normal file
2316
build/output/the-testament.html
Normal file
File diff suppressed because it is too large
Load Diff
408
testament.html
408
testament.html
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user