breathe-doc / breathe

ReStructuredText and Sphinx bridge to Doxygen
https://breathe-doc.org
Other
732 stars 196 forks source link

no-link option not working #940

Open Thosse opened 10 months ago

Thosse commented 10 months ago

Hey, I'm using Doxygen and Sphinx with the Breathe extension to describe the API of a C++ software. I noticed that I can't include the Doxygen element multiple times, without it messing up the internal indexing. Originally, the :no-link: option should handle this, such that it inhibits the indexing of the second directive here

.. doxygenenum:: ReturnValue
    :project: test_project

.. doxygenenum:: ReturnValue
    :project: test_project
    :no-link:

Still, I'm getting a "WARNING: Duplicate C++ declaration, also defined at [...]" and multiple index entries.

Am I doing something wrong here or is this a bug?

P.S. I'm using sphinx 6.2.1 and breathe 4.35.0.