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
Describe the bug The C++ objects generate hyperlink names internally. As a result, it conflicts with normal hyperlink target.
To Reproduce Input:
.. _say_hello: .. cpp:function:: say_hello()
warnings:
/Users/tkomiya/work/tmp/doc/index.rst:14: WARNING: Duplicate explicit target name: "say_hello".
As a side effect, C++ objects can be refer via hyperlink reference syntax:
.. cpp:function:: say_hello() Both :cpp:func:`say_hello` and say_hello_ can refer above definition
Expected behavior I suppose this is not unexpected behavior. So it should not define hyperlink names internally.
Your project N/A
Screenshots N/A
Environment info
The text was updated successfully, but these errors were encountered:
Fix sphinx-doc#7276: cpp: objects generate hypertarget names unexpect…
5ea7a8f
…edly
22084ad
Merge pull request #7277 from tk0miya/7276_cpp_hyperlink_names
504d261
Fix #7276: cpp: objects generate hypertarget names unexpectedly
No branches or pull requests
Describe the bug
The C++ objects generate hyperlink names internally. As a result, it conflicts with normal hyperlink target.
To Reproduce
Input:
warnings:
As a side effect, C++ objects can be refer via hyperlink reference syntax:
Expected behavior
I suppose this is not unexpected behavior. So it should not define hyperlink names internally.
Your project
N/A
Screenshots
N/A
Environment info
The text was updated successfully, but these errors were encountered: