Repository navigation
_config.yml: remove the launch button, whose notebooks repository doesn't exist - #85
Merged
Merged
Conversation
…sn't exist The theme's launch button (Colab) pointed every page at QuantEcon/lecture-dp.notebooks, which was never created: dp builds HTML only and publishes no notebooks, so the button led to a missing notebook on every page. Removing nb_repository_url removes the button (the theme shows it only when nb_repository_url is set); launch_buttons goes with it, since it only configured that button. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WT8bMZxoF4m8xKRb8BcHnG
Contributor
Author
Validation: a full validationdp's way, as for #81 and #84: a fresh build with no cache of main and of this pull request, each executing all 51 notebooks (
Conclusion. The pull request removes the launch button from every lecture page, and nothing else a reader would see; every other difference is output noise of the kinds this series' builds already show between runs. |
mmcky
added a commit
to QuantEcon/lectures
that referenced
this pull request
Nov 25, 2026
…3267d81 (#95) The pool follow-up to QuantEcon/lecture-dp#85: sites/dp/_config.yml drops nb_repository_url and launch_buttons, so the dead launch (Colab) button goes from the pool's dp site too; with its site-addition lines set aside, the file is byte for byte dp's at 3267d81. sync/state.yml pins dp at 3267d81 (was bfb1d7b), so tonight's drift check compares like with like. dp is a consumer, so the pin brings no lecture into the pool. CI's site builds passed, and none of the dp build's pages has the button. Merged on @mmcky's "Merge as recommended" in the organiser session. Co-authored-by: Claude Opus 5.5 <[email protected]>
This was referenced Nov 25, 2026
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.
What this changes
Every dp page has a launch button that opens the page's notebook in Colab, from
https://colab.research.google.com/github/QuantEcon/lecture-dp.notebooks/blob/main/<page>.ipynb. That repository was never created: dp builds HTML only and publishes no notebooks, so the button leads to a missing notebook on every page.This pull request removes the button. quantecon-book-theme shows it only when
nb_repository_urlis set (layout.html), sonb_repository_urlgoes, andlaunch_buttons, which only configured that button, goes with it. Removinglaunch_buttonsalone would not do: withnb_repository_urlstill set and no launch service, the theme'sadd_hub_urlsreads a Colab address that was never set. Nothing else on the page changes; dp pages had no notebook download either.dp's lectures all come from intermediate and advanced, where the Colab button works. Giving dp its own notebooks is a separate question, raised for the download button in its own issue.
The monorepo
sites/dp/_config.ymlin QuantEcon/lectures copies this file verbatim, so after this merges the nightly drift check reports that copy as out of step, and a pull request there copies the new file.Validation
Fresh builds of main and of this branch the same day, dp's way (
cache.ymlwith no cache, thenci.ymlrendering each side's own fresh cache), compared page by page; the evidence comment follows below.Requested by @mmcky on 2026-11-25 in the lecture monorepo's working session: "Yes please", to "Shall I open a PR to lecture-dp removing the dead Colab button?"
🤖 Generated with Claude Code
https://claude.ai/code/session_01WT8bMZxoF4m8xKRb8BcHnG