Skip to content

Drop nb_repository_url, which points at a notebooks repo that does not exist - #60

Open
mmcky wants to merge 1 commit into
mainfrom
fix/drop-dead-nb-repository-url
Open

Drop nb_repository_url, which points at a notebooks repo that does not exist#60
mmcky wants to merge 1 commit into
mainfrom
fix/drop-dead-nb-repository-url

Conversation

@mmcky

@mmcky mmcky commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

lectures/_config.yml sets nb_repository_url to https://github.com/QuantEcon/lecture-dp.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-dp/intro.html links to https://colab.research.google.com/github/QuantEcon/lecture-dp.notebooks/blob/main/intro.ipynb, and QuantEcon/lecture-dp.notebooks returns 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. Nothing else in the theme reads the key.

Relation to #22. Section C of #22 already lists dropping nb_repository_url. It waits there on QuantEcon/quantecon-book-theme#359, so that Colab can open notebooks served from the published site. The link is dead today, so removing it now loses nothing. A working launch can come back with QuantEcon/quantecon-book-theme#359, once this series publishes notebooks (#25).

Publishing. Merging does not change the live site; the button disappears at the next publish* release.

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

…t exist

lectures/_config.yml set nb_repository_url to
https://github.com/QuantEcon/lecture-dp.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>
Copilot AI lite review requested due to automatic review settings September 11, 2026 07:30

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.

🟢 Approval recommended

The change is a small, valid YAML config adjustment that removes a known-broken external link trigger without affecting other build settings.

Pull request overview

Removes nb_repository_url from the Jupyter Book configuration to prevent the Quantecon book theme from rendering “Launch/Colab” links that point to a non-existent notebooks repository, eliminating dead outbound links across the site until notebook publishing is implemented.

Changes:

  • Drop nb_repository_url from lectures/_config.yml so the theme stops showing notebook launch buttons.
  • Add an inline comment documenting why the key is intentionally omitted.
File summaries
File Description
lectures/_config.yml Removes the non-existent notebooks repo URL and documents intentional omission to suppress broken 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.

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