Repository navigation
sites/dp: take dp's _config.yml with download_nb_path; pin dp at afb26ea - #96
Merged
Merged
Conversation
QuantEcon/lecture-dp#87 (merged as afb26ea) gave dp's pages the Download Notebook button: its _config.yml gained download_nb_path, for dp's sub-path on quantecon.github.io, and tojupyter_static_file_path became ["_static"], as in the other series. sites/dp/_config.yml copies that file verbatim, so it takes the same two lines; every "# site addition" line stays. sync/state.yml pins dp at afb26ea, so the drift check compares the site copy with the file it now copies. The pool's dp site build still builds HTML only, so it shows no download button: the theme offers one only when _notebooks/ exists. That follows when dp's build moves to the monorepo (QuantEcon/lecture-dp#86). 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#87 (merged as
afb26ea) gave dp's pages the "Download Notebook" button, and changed two lines of dp'slectures/_config.yml: it addeddownload_nb_path: https://quantecon.github.io/lecture-dp, for dp's sub-path, and settojupyter_static_file_pathto["_static"], as in the other five series.sites/dp/_config.ymlcopies dp's file verbatim (sites/README.md), so this pull request takes the same two lines. Every# site additionline stays; with them removed, the site's file is byte-for-byte dp's atafb26ea.sync/state.ymlpins dp atafb26ea(tools/sync --update --pin-only dp; it was3267d81, from #95), so the drift check compares the site copy with the file it now copies. dp is a consumer series, so the new pin brings no lecture into the pool.The pool's dp site build still builds HTML only, so the pool's dp site shows no download button: the theme offers one only when
_notebooks/exists. That follows when dp's build moves to the monorepo, as QuantEcon/lecture-dp#86 notes.Checks run locally
In a fresh clone of main at
6fce7d1:tools/sync --update --pin-only dp, thentools/sync(6 ok).tools/drift-checkis clean,tools/pool-checkis clean (335 lectures, 6 sites), and the tool tests pass (330 passed, 1 skipped).For the review
Configuration only, no lecture. Without it, the next drift check would open a
site-staleissue forsites/dp/_config.yml.Requested by @mmcky on 2026-11-26 in the lecture monorepo's working session, with QuantEcon/lecture-dp#87 ("Please proceed"); this is its pool follow-up, as #95 was for QuantEcon/lecture-dp#85.
🤖 Generated with Claude Code
https://claude.ai/code/session_01WT8bMZxoF4m8xKRb8BcHnG