Skip to content

Revert handout PDF R2 path to handouts/pdfs/#96

Merged
PatrikBak merged 1 commit into
mainfrom
patrik/revert-handout-pdf-r2-path
May 13, 2026
Merged

Revert handout PDF R2 path to handouts/pdfs/#96
PatrikBak merged 1 commit into
mainfrom
patrik/revert-handout-pdf-r2-path

Conversation

@PatrikBak
Copy link
Copy Markdown
Owner

Summary

  • External references to handout PDFs use the old /pdfs/ URLs, so the nested-by-slug layout from Nest handout R2 assets under handouts/<slug>/ #94 broke those links. Restore the flat handouts/pdfs/<file>.pdf layout.
  • Images stay nested under handouts/<slug>/ — they're only referenced from web/src/content/handouts/*.json, which moved alongside them.
  • Reupload to R2 is needed after merge so the /pdfs/ keys exist again; orphaned nested PDF copies are left in place.

🤖 Generated with Claude Code

External references to handout PDFs use the old /pdfs/ URLs, so the
nested-by-slug layout from PR #94 broke those links. Restore the flat
handouts/pdfs/<file>.pdf layout for PDFs. Images stay nested under
handouts/<slug>/ since they're only referenced from our own handout JSON.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
math-comps Ready Ready Preview, Comment May 13, 2026 6:19pm

@PatrikBak PatrikBak enabled auto-merge May 13, 2026 18:18
@PatrikBak PatrikBak merged commit 96c51ac into main May 13, 2026
4 checks passed
@PatrikBak PatrikBak deleted the patrik/revert-handout-pdf-r2-path branch May 13, 2026 18:21
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