FIX: resolve short_path cross-reference locally in os.md#16
Merged
Conversation
short_path is a local lecture in lecture-dp (Introduction section), so
point the {doc} reference at the local page instead of the external
intro.quantecon.org site. This introduces an intentional lecture-dp-specific
intersphinx divergence from the lecture-python.myst source; see issue #7.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR fixes a cross-reference in the Optimal Savings lecture so the shortest paths link resolves to the local lecture-dp page instead of the external intro site.
Changes:
- Updated the
{doc}target inlectures/os.mdfromintro:short_pathto localshort_path.
💡 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 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 the{doc}reference inos.mdlinked to it externally viaintro:short_path(→ intro.quantecon.org). This changes it to bareshort_pathso it resolves to the local lecture-dp page.This introduces an intentional lecture-dp-specific intersphinx divergence from the
lecture-python.mystsource (whereshort_pathdoesn't exist locally and theintro:prefix is correct). Noted for #7.🤖 Generated with Claude Code