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
Literal . (dot) or number (e.g. "3") in header yields local id not found [myst.xref_missing] #985
I have another document container_from_scratch.md where I want to reference this header in a link like
Please see the [container intro about environment](./container_intro.md#lxc-env-for-environment-variables)
This produces the following error:
[...]
writing output... [100%] index
docs/container/container_from_scratch.md:304: WARNING: local id not found in doc 'docs/container/container_intro': 'lxc-env-for-environment-variables' [myst.xref_missing]
generating indices... genindex done
[...]
Other combinations also do NOT work, e.g. adding an explicit (lxc-env)= target
[](container_intro.md#lxc-env)
⚠️ The only way to resolve this WARNING is to REMOVE the dot from the header, e.g.
### lxcenv for environment variables
and changing the link to container_intro.md#lxc-env-for-environment-variables.
⚠️ NOTE: The links work in the end, it is just a distracting, red WARNING
changed the title [-]Literal . (dot) in header yields local id not found [myst.xref_missing][/-][+]Literal . (dot) or number (e.g. "3") in header yields local id not found [myst.xref_missing][/+]on Oct 17, 2024
Activity
[-]Literal . (dot) in header yields local id not found [myst.xref_missing][/-][+]Literal . (dot) or number (e.g. "3") in header yields local id not found [myst.xref_missing][/+]raoulbhatia commentedon Oct 17, 2024
Update: I've stumbled across another issue when using a header like
## 3rd party.The auto-generated target is
rd-partyin this example.Removing the
3seems to resolve the issue.raoulbhatia commentedon Oct 18, 2024
I today noticed that MyST 4.0.0 is available and upgraded accordingly.
Unfortunately, there is no change in behavior.
edgarrmondragon commentedon Mar 7, 2025
Just wanted to report that this is definitely still an issue.