Repository navigation
sites/dp: take dp's _config.yml without the launch button; pin dp at 3267d81 - #95
Merged
Merged
Conversation
…3267d81 QuantEcon/lecture-dp#85 removed nb_repository_url (the never-created QuantEcon/lecture-dp.notebooks) and launch_buttons from dp's lectures/_config.yml, so its pages no longer show a dead Colab button. sites/dp/_config.yml copies that file verbatim, so it drops the same three lines; every "# site addition" line stays. sync/state.yml pins dp at 3267d81, that merge, so the drift check compares the site copy with the file it now copies; the nightly sync would have re-pinned dp to the same commit. tools/drift-check is clean afterwards. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WT8bMZxoF4m8xKRb8BcHnG
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
QuantEcon/lecture-dp#85 (merged as
3267d81) removednb_repository_urlandlaunch_buttonsfrom dp'slectures/_config.yml: they pointed every page's Colab button atQuantEcon/lecture-dp.notebooks, which was never created.sites/dp/_config.ymlcopies dp's file verbatim (sites/README.md), so this pull request drops the same three lines from it. Every# site additionline stays; with them removed, the site's file is byte-for-byte dp's at3267d81.sync/state.ymlpins dp at3267d81(tools/sync --update --pin-only dp), so the drift check compares the site copy with the file it now copies. dp's pin wasbfb1d7b, from before today's three dp merges; the nightly sync would have moved it to the same commit. dp is a consumer series, so the new pin brings no lecture into the pool.Without this, tonight's drift check would open a
site-staleissue forsites/dp/_config.yml.Checks run locally
In a fresh clone of main at
1d9b3d3:tools/sync --update --pin-only dp, thentools/sync(6 ok).tools/drift-checkis clean; with dp re-pinned and the site copy unchanged it reports the onesite-stalefinding.tools/pool-checkis clean (335 lectures, 6 sites), and the tool tests pass (330 passed, 1 skipped).For the review
The pool's dp site loses the same dead button the live site lost. It changes no lecture.
Requested by @mmcky on 2026-11-25 in the lecture monorepo's working session, with QuantEcon/lecture-dp#85 ("Yes please", to "Shall I open a PR to lecture-dp removing the dead Colab button?"); this is its pool follow-up.
🤖 Generated with Claude Code
https://claude.ai/code/session_01WT8bMZxoF4m8xKRb8BcHnG