Conversation
…t exist lectures/_config.yml set nb_repository_url to https://github.com/QuantEcon/lecture-intro.zh-cn.notebooks, which returns 404. quantecon-book-theme renders its Launch button whenever the key is set, so every page linked Colab to the missing repository. Leaves the comment the lecture-python-programming editions use for the same case; the theme skips notebook-launch links when the key is unset. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
✅ Deploy Preview for playful-platypus-17d3bb ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
🟢 Approval recommended
The change is a minimal, syntactically valid YAML update that removes a broken configuration value without impacting unrelated settings.
Pull request overview
Removes the nb_repository_url configuration from the Sphinx theme options so the Quantecon Book Theme does not render notebook “Launch” links pointing to a non-existent notebooks repository for this edition.
Changes:
- Removed
nb_repository_urlfromlectures/_config.yml. - Added an explanatory comment documenting why the key is intentionally omitted.
File summaries
| File | Description |
|---|---|
| lectures/_config.yml | Removes the nonexistent notebooks-repo URL to prevent rendering broken notebook launch links. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This was referenced Sep 11, 2026
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
lectures/_config.ymlsetsnb_repository_urltohttps://github.com/QuantEcon/lecture-intro.zh-cn.notebooks, a repository that does not exist. quantecon-book-theme shows its Launch button whenever that key is set, so every page links Colab to the missing repository. For example, https://quantecon.github.io/lecture-intro.zh-cn/intro.html links tohttps://colab.research.google.com/github/QuantEcon/lecture-intro.zh-cn.notebooks/blob/main/intro.ipynb, andQuantEcon/lecture-intro.zh-cn.notebooksreturns 404 (checked 2026-09-11).This removes the key and leaves the same comment the lecture-python-programming editions use for this situation (see QuantEcon/lecture-python-programming.fa#145). With the key unset, the theme renders no Launch button. The Download Notebook button is unaffected: it comes from
download_nb_path, which this PR does not change.Translation sync. action-translation's sync reads this file only to find bibliographies, so it will not restore the key. The CLI's
translate initdoes copy_config.ymlfrom the English source, but that already overwrites every localized setting and is documented as needing a revert.Publishing. Merging does not change the live site; the button disappears at the next
publish*release. The same change is going to lecture-dp and lecture-python.zh-cn under the same title.Found during the book-theme parity review for the MyST theme (QuantEcon/quantecon-theme.mystmd#205), which will show Launch only when a notebook source is configured.
🤖 Generated with Claude Code