Skip to content

sites/dp: take dp's _config.yml without the launch button; pin dp at 3267d81 - #95

Merged
mmcky merged 1 commit into
mainfrom
sites/dp-no-launch-button
Nov 25, 2026
Merged

mmcky merged 1 commit into
mainfrom
sites/dp-no-launch-button

Conversation

@mmcky

@mmcky mmcky commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

What this changes

QuantEcon/lecture-dp#85 (merged as 3267d81) removed nb_repository_url and launch_buttons from dp's lectures/_config.yml: they pointed every page's Colab button at QuantEcon/lecture-dp.notebooks, which was never created. sites/dp/_config.yml copies dp's file verbatim (sites/README.md), so this pull request drops the same three lines from it. Every # site addition line stays; with them removed, the site's file is byte-for-byte dp's at 3267d81.

sync/state.yml pins dp at 3267d81 (tools/sync --update --pin-only dp), so the drift check compares the site copy with the file it now copies. dp's pin was bfb1d7b, 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-stale issue for sites/dp/_config.yml.

Checks run locally

In a fresh clone of main at 1d9b3d3: tools/sync --update --pin-only dp, then tools/sync (6 ok). tools/drift-check is clean; with dp re-pinned and the site copy unchanged it reports the one site-stale finding. tools/pool-check is 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

…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
@mmcky
mmcky merged commit 6fce7d1 into main Nov 25, 2026
9 checks passed
@mmcky
mmcky deleted the sites/dp-no-launch-button branch November 25, 2026 21:42
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.

1 participant