-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Incorrect links generated for cross-references with same name when using tagfiles #10850
Comments
…th same name when using tagfiles - properly reset in case of reuse the page definition (util.cpp) - when having multiple times (multiple tag files) with the same info warnings like `warning: Duplicate anchor md_README found` will occur, better to replace in that case and no warning (tagreader.cpp) - better debug output (doxygen.cpp)
I've just pushed a proposed patch, pull request #10854 |
issue #10850 Incorrect links generated for cross-references with same name when using tagfiles
Code has been integrated in master on GitHub (please don't close the issue as this will be done at the moment of an official release). |
Thanks a lot! |
This issue was previously marked 'fixed but not released', |
Describe the bug
When an external project and the current project both have a MarkDown page with the same name/label, references in the current project resolve to the version of the page of the external project (instead of the current one).
Screenshots
The text refers to "Examples B" (which is the current project's version of the page), but the link points to the external project's version of the page (which has the title "Examples A").
The "Related Pages" index is also incorrect (and doesn't even link to the current project's version of the examples page at all).
To Reproduce
Doxygen-10850.zip
Expected behavior
Inside of project B, the
@ref examples
command should link to project B's version of the example.md file.Bonus: it would be nice to be able to explicitly refer to project A's version of the file as well.
Version
1.10.0 (ebc57c6)
Additional context
In my specific use case, I'm using the following in my
DoxygenLayout.xml
:The
@ref examples
produces the wrong link when using a tagfile from a project that also has a page labeledexamples
.The text was updated successfully, but these errors were encountered: