Repository navigation
Rename mle to mle_intro so lecture names are unique across the published sites - #857
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. |
QuantEcon/lecture-python.myst publishes a different lecture as mle, 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 complete and internally consistent—all five cross-references, the TOC entry, and the rediraffe redirect are correctly updated with no stale references remaining.
0 open findings
What changed in this PR
This PR renames the introductory mle lecture to mle_intro so that lecture names are unique across QuantEcon's published sites (the lecture-python.myst series already publishes a different mle lecture). It is part of a coordinated series of three intro renames (#855 lake_model, #856 lln_clt, #857 mle) tracked under QuantEcon/project-monorepo#76. The change is purely organizational—content is moved, not modified—and preserves the old URL via a rediraffe redirect.
Changes:
- Rename
lectures/mle.md→lectures/mle_intro.mdand update its_toc.ymlentry. - Add
mle.md: mle_intro.mdunderrediraffe_redirectsin_config.ymlso the old address redirects. - Update all 5
{doc}cross-references (2 infitting_distributions.md, 3 inwealth_tax.md).
| File | Description |
|---|---|
| lectures/mle_intro.md | Renamed from mle.md; content unchanged, internal {ref}/label anchors are file-independent and remain valid |
| lectures/_toc.yml | TOC entry updated from mle to mle_intro |
| lectures/_config.yml | Adds rediraffe redirect mle.md: mle_intro.md, grouped with sibling redirects |
| lectures/fitting_distributions.md | Two {doc}mle`` references updated to mle_intro |
| lectures/wealth_tax.md | Three {doc}mle`` references updated to mle_intro (one with `<mle_intro>` link text) |
I verified via a full-repository search that no stale {doc}mle``, <mle>, or `mle.md`/`mle.html` references remain, the old file is gone, the new file exists, and the `_toc.yml` entry and `_config.yml` redirect are correctly placed. The rename is complete and consistent, matching the pattern of the sibling PRs. I found no issues to flag.
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Part of QuantEcon/project-monorepo#76. QuantEcon/lecture-python.myst publishes a different lecture as
mle, 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/mle.mdis renamed tolectures/mle_intro.md, and its_toc.ymlentry follows it.lectures/_config.ymlgainsmle.md: mle_intro.mdunderrediraffe_redirects, so the old address redirects to the new one.fitting_distributions(2) andwealth_tax(3). No other series links to intro'smleby 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