Repository navigation
Rename lln_clt to lln_clt_intro so lecture names are unique across the published sites - #856
Conversation
✅ Deploy Preview for taupe-gaufre-c4e660 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
The red checks are expected. What fails: the HTML build stops on one warning and nothing else: Why: CI restores the build cache that How it lands: each of the three intro PRs stays red until it is merged. After each merge:
This is on top of the hold for QuantEcon/action-translation#291. |
…e sites QuantEcon/lecture-python.myst publishes a different lecture as lln_clt, and the lectures monorepo needs every name to be unique across the published sites; the intro side takes the _intro suffix, as ruled on QuantEcon/project-monorepo#75. The old address redirects to the new one through a rediraffe_redirects entry. Part of QuantEcon/project-monorepo#76.
There was a problem hiding this comment.
🟢 Approval recommended
The rename is fully consistent — toc, redirect, and all five cross-references are updated, no stale references remain, and the unchanged external link and equation label are correctly out of scope.
0 open findings
What changed in this PR
This PR renames the intro series' lln_clt lecture to lln_clt_intro so that lecture names stay unique across QuantEcon's published sites (the lecture-python.myst series publishes a different lln_clt). It is part of a coordinated set of three intro renames (#855, #856, #857) and fits into the monorepo-wide uniqueness effort (QuantEcon/project-monorepo#76).
Changes:
- Renamed
lectures/lln_clt.mdtolectures/lln_clt_intro.mdand updated its_toc.ymlentry. - Added
lln_clt.md: lln_clt_intro.mdunderrediraffe_redirectsinlectures/_config.ymlso the old URL redirects. - Updated five
{doc}cross-references acrossheavy_tails,markov_chains_II,monte_carlo, andobserved_distributions.
| File | Description |
|---|---|
| lectures/lln_clt_intro.md | New file (renamed from lln_clt.md); content unchanged |
| lectures/_toc.yml | Toc entry updated to lln_clt_intro |
| lectures/_config.yml | Added rediraffe redirect from old name to new name |
| lectures/heavy_tails.md | Updated {doc} cross-reference to lln_clt_intro |
| lectures/markov_chains_II.md | Updated {doc} cross-reference to lln_clt_intro |
| lectures/monte_carlo.md | Updated {doc} cross-reference to lln_clt_intro |
| lectures/observed_distributions.md | Updated two {doc} cross-references to lln_clt_intro |
I verified that no remaining {doc} link in the repo points at the old lln_clt target, the old file is gone and the new file exists, and the redirect/toc entries are consistent. The external link on line 31 (python.quantecon.org/lln_clt.html) correctly remains unchanged because it refers to a different (advanced) series' lecture, and the :label: lln_clt on line 439 is a pre-existing internal math-equation label, not a file reference.
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
✅ Translation sync completed (zh-cn)Target repo: QuantEcon/lecture-intro.zh-cn
|
As in #311: the sync mirrors the English _toc.yml, which lists four lectures this edition has not translated (bivariate_dist, bayes_intro, tax_smooth, msy_fishery). Drop those entries; the rename line stays. Redirect the old address: lln_clt.md: lln_clt_intro.md, as in the English series (QuantEcon/lecture-python-intro#856). The branch also takes main, which #311 moved. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… are unique across the published sites (#312) * Update translation: lectures/heavy_tails.md * Update translation: .translate/state/heavy_tails.md.yml * Update translation: lectures/markov_chains_II.md * Update translation: .translate/state/markov_chains_II.md.yml * Update translation: lectures/monte_carlo.md * Update translation: .translate/state/monte_carlo.md.yml * Update translation: lectures/observed_distributions.md * Update translation: .translate/state/observed_distributions.md.yml * Update translation: lectures/lln_clt_intro.md * Update translation: .translate/state/lln_clt_intro.md.yml * Update translation: lectures/_toc.yml * Delete removed file: lectures/lln_clt.md * Delete removed file: .translate/state/lln_clt.md.yml * Keep the edition's toc; add the lln_clt redirect As in #311: the sync mirrors the English _toc.yml, which lists four lectures this edition has not translated (bivariate_dist, bayes_intro, tax_smooth, msy_fishery). Drop those entries; the rename line stays. Redirect the old address: lln_clt.md: lln_clt_intro.md, as in the English series (QuantEcon/lecture-python-intro#856). The branch also takes main, which #311 moved. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Part of QuantEcon/project-monorepo#76. QuantEcon/lecture-python.myst publishes a different lecture as
lln_clt, and the lectures monorepo needs every lecture name to be unique across the published sites. QuantEcon/project-monorepo#75 ruled that the intro side takes an_introsuffix.What this changes
lectures/lln_clt.mdis renamed tolectures/lln_clt_intro.md, and its_toc.ymlentry follows it.lectures/_config.ymlgainslln_clt.md: lln_clt_intro.mdunderrediraffe_redirects, so the old address redirects to the new one.heavy_tails,markov_chains_II,monte_carloandobserved_distributions(2). No other series links to intro'slln_cltby name; I checked all six._toc.ymlentry has a file;{doc}link points at a missing file.The translation hold is cleared: action-translation v0.29.4 (2026-10-09) carries QuantEcon/action-translation#291, and
v0, whichsync-translations-zh-cn.ymlruns, now points at it. This PR stays a draft until the one before it has merged and this one is rebased.lecture-intro.zh-cnthrough the series' own translation sync. Until Labels for figures inlong_run_growth#291 lands, that sync overwrites the edition's localised_toc.ymlpart captions (Sync overwrites localised _toc.yml part captions with English, and nothing detects it action-translation#254).lecture-intro.zh-cn: the edition's ownlectures/_config.ymlneeds the samerediraffe_redirectsline. It cannot land earlier, because rediraffe checks that the old file is gone.lake_model), Rename lln_clt to lln_clt_intro so lecture names are unique across the published sites #856 (lln_clt) and Rename mle to mle_intro so lecture names are unique across the published sites #857 (mle). All three add their redirect at the same place in_config.yml, so after one merges, the next needs a rebase before it can merge.🤖 Generated with Claude Code