-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WARNING: 'myst' cross-reference target not found: 'level-4-header-title' [myst.xref_missing] #885
Comments
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗 |
I get the same, not specifically for 4-level headers, but also 2-level headers. Note: A warning != error. What is happening here does not break any functionality. I suspect this is the case for all implicit targets. Possibly they are not resolved during Sphinx build time but only in the generated HTML.
|
Increasing the |
Oh, thanks! That solves it perfectly. |
What version of
myst-parser
are you using?2.0.0
What version dependencies are you using?
Name: Sphinx
Version: 7.2.6
Name: docutils
Version: 0.20.1
What operating system are you using?
Mac
Describe the Bug
When internal linking to a fourth level header (#### Fourth Level Header) using the syntax
[link text](#fourth-level-header)
, upon doc compilation myst throws this error the first time during compilation:WARNING: 'myst' cross-reference target not found: 'fourth-level-header' [myst.xref_missing]
. However the link works when inspecting and testing the compiled docs.Expected Behavior
An error will not be thrown.
To Reproduce
Try to compile this file below with a command such as
sphinx-build -b html src build
:results in error:
The text was updated successfully, but these errors were encountered: