You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
project: links fall back to external intersphinx references when local targets are missing #1235
When a reference target does not exist in the current project, using the project: scheme does not prevent MyST-Parser from resolving the reference against external Intersphinx inventories.
For example, consider the following Markdown link:
[Input](project:#input)
If the current project does not define a reference target named input, but intersphinx_mapping is configured as follows:
This happens because the external inventory contains python:py:function:input.
Expected Behavior
The project: scheme should restrict reference resolution to the current project. If the specified reference target does not exist in the current project, MyST-Parser should report a warning or error indicating that the reference target could not be found, rather than silently resolving it against an external Intersphinx inventory.
Activity