Skip to content

Update repo URLs from book-dp1-public to book-dp-public - #20

Merged
mmcky merged 1 commit into
mainfrom
rename-repo-urls
May 22, 2026
Merged

Update repo URLs from book-dp1-public to book-dp-public#20
mmcky merged 1 commit into
mainfrom
rename-repo-urls

Conversation

@mmcky

@mmcky mmcky commented May 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replaces all github.com/QuantEcon/book-dp1-public/... references in website/index.html, website/code.html, and website/slides.html with the current repo name book-dp-public.
  • Pure search-and-replace — no behavior change. The old URLs still resolve via GitHub's rename redirect; this just removes the redirect hop and stops new contributions from picking up the stale name by example.

Coordination with #19

#19 (overview lectures) adds two new links that still use the old book-dp1-public pattern (matching the file's prior convention). After #19 lands, this branch should be rebased onto main and those two lines updated in the rebase commit — or merged in either order with a small follow-up commit. Either way, ~2 extra line edits.

Test plan

  • grep -r book-dp1-public website/ returns nothing on this branch
  • Spot-check each rewritten link (PDFs, GitHub root, code tree) loads correctly
  • After merge, confirm https://dp.quantecon.org/ still renders identically

🤖 Generated with Claude Code

The repo was renamed from book-dp1-public to book-dp-public. GitHub
redirects keep the old URLs working, but updating them removes the
redirect hop and matches the current repo name.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 22, 2026 04:50
@netlify

netlify Bot commented May 22, 2026

Copy link
Copy Markdown

Deploy Preview for resonant-pie-f0089d ready!

Name Link
🔨 Latest commit c361da8
🔍 Latest deploy log https://app.netlify.com/projects/resonant-pie-f0089d/deploys/6a0fe09328530c0008526071
😎 Deploy Preview https://deploy-preview-20--resonant-pie-f0089d.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates hard-coded GitHub links across the website pages to use the current repository name (book-dp-public), avoiding GitHub rename redirects while keeping link targets the same.

Changes:

  • Updated raw GitHub URLs for PDF downloads on the homepage.
  • Updated raw GitHub URLs for chapter slide PDFs.
  • Updated GitHub repository/code-tree links on the Code and Slides pages.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
website/index.html Replaces PDF download + repo links to point at QuantEcon/book-dp-public.
website/slides.html Replaces slide PDF links + repo button URL to point at QuantEcon/book-dp-public.
website/code.html Replaces code tree links + repo button URL to point at QuantEcon/book-dp-public.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mmcky

mmcky commented May 22, 2026

Copy link
Copy Markdown
Contributor Author

@jstac this just fixes old links that were resolving thanks to GitHub redirects when we renamed the repository. Good to update them though.

@mmcky
mmcky merged commit 4b66e21 into main May 22, 2026
10 checks 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.

2 participants