Repository navigation
FIX: resolve short_path cross-references locally in lqcontrol.md - #15
Merged
Merged
Conversation
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]>
There was a problem hiding this comment.
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_pathwith `{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.
This was referenced Jun 3, 2026
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.
short_pathis a local lecture in lecture-dp (Introduction section in_toc.yml), but two{doc}references inlqcontrol.mdlinked to it externally viaintro:short_path(→ intro.quantecon.org). This changes them to bareshort_pathso they resolve to the local lecture-dp page.This is an intentional lecture-dp-specific intersphinx divergence from the
lecture-python.mystsource (whereshort_pathdoesn't exist locally and theintro:prefix is correct). It sits alongside the file's existingintermediate:kalmandivergence documented in #7.🤖 Generated with Claude Code