Open n-peugnet opened 8 months ago
This seem to be duplicate of #839
This seem to be duplicate of #839
I don't think so, but I think you have the same as mine. This one is specifically about this issue with translated documents only. I don't have the issue with untranslated documents.
By the way @thorge, if you have a way to reproduce this issue on a smaller/simpler repository than mine, it would probably help locating the issue.
This seem to be duplicate of #839
I don't think so, but I think you have the same as mine. This one is specifically about this issue with translated documents only. I don't have the issue with untranslated documents.
This works for me, thanks you @n-peugnet
I can not reproduce this on our latest main
branch, but I can still reproduce it consistently on the issue
branch.
As it is related to translations, I tested the issue
branch with https://github.com/executablebooks/MyST-Parser/compare/master...n-peugnet:MyST-Parser:add-parse-inline and https://github.com/sphinx-doc/sphinx/pull/12238 and I have no warning any-more.
What version of
myst-parser
are you using?>=0.19.0
What version dependencies are you using?
Any version compatible with the version of MyST Parser used.
What operating system are you using?
Linux
Describe the Bug
Since MyST-parser, I get the
local id not found in doc
when I compile the docs in another language, but the links are correctly produced.These happen only with links with anchors and the setting
myst_heading_anchors
enabled. But some of these links do not produce warnings:These warning do not happen with untranslated version.
Expected Behavior
There should be no warnings.
To Reproduce
I could not make a smaller reproducer as the bug only happens chen there are a lot of files somehow. For instance on the branch
no-issue
I removed almost all the files but the problem does not arise.