Skip to content

FIX: resolve short_path cross-references locally in lqcontrol.md - #15

Merged
mmcky merged 2 commits into
mainfrom
fix-shortpath-xref-lqcontrol
May 28, 2026
Merged

mmcky merged 2 commits into
mainfrom
fix-shortpath-xref-lqcontrol

Conversation

@mmcky

@mmcky mmcky commented May 28, 2026

Copy link
Copy Markdown
Contributor

short_path is a local lecture in lecture-dp (Introduction section in _toc.yml), but two {doc} references in lqcontrol.md linked to it externally via intro:short_path (→ intro.quantecon.org). This changes them to bare short_path so they resolve to the local lecture-dp page.

This is an intentional lecture-dp-specific intersphinx divergence from the lecture-python.myst source (where short_path doesn't exist locally and the intro: prefix is correct). It sits alongside the file's existing intermediate:kalman divergence documented in #7.

🤖 Generated with Claude Code

short_path is a local lecture in lecture-dp (Introduction section), so
point the two {doc} references at the local page instead of the external
intro.quantecon.org site. This is an intentional lecture-dp-specific
intersphinx divergence from the lecture-python.myst source (alongside the
existing intermediate:kalman prefix); see issue #7.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings May 28, 2026 00:35

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes two cross-references in lqcontrol.md that incorrectly used the intro: intersphinx prefix to link to short_path, even though short_path exists as a local lecture in lecture-dp's TOC. The references now resolve to the local page instead of the external intro.quantecon.org site.

Changes:

  • Replace {doc}this lecture intro:short_path with `{doc}`this lecture <short_path> at line 60 (prerequisites list).
  • Same replacement at line 371 (finite-horizon backward induction discussion).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Pulls in un_insure.md execution fix (#17) so CI passes.
@mmcky
mmcky merged commit 5af3bcd into main May 28, 2026
1 check passed
@mmcky
mmcky deleted the fix-shortpath-xref-lqcontrol branch May 28, 2026 03:55
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.

2 participants