Skip to content

Gate book PDF downloads behind Substack - #11

Merged
webmaxru merged 1 commit into
mainfrom
webmaxru-gate-book-downloads
Sep 20, 2026
Merged

webmaxru merged 1 commit into
mainfrom
webmaxru-gate-book-downloads

Conversation

@webmaxru

Copy link
Copy Markdown
Owner

Why

Gate the book PDF download so readers are directed through the Substack landing page instead of accessing a public PDF file directly from the website.

What changed

  • Replaced all generated and checked-in website PDF links with the Substack download page.
  • Standardized the link caption to Get the free PDF and open it in a new tab.
  • Removed the PDF from the public GitHub Pages deployment while retaining local and release PDF generation.
  • Updated README, scripts documentation, and release workflow guidance to describe the new publishing boundary.

Validation

  • python -B -m unittest scripts\tests\test_site_metadata.py -v
  • python -B -m unittest scripts\tests\test_workflows.py -v
  • Confirmed no local PDF links or gh-aw-book.pdf references remain in the generated site/ output.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@webmaxru
webmaxru merged commit 24a130b into main Sep 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant