Skip to content
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

Possibility to include the same doxygenclass or doxygenfunction in multiple rst files without raising a duplicated C++ code warning #880

Open
santiagopagani opened this issue Jan 13, 2023 · 2 comments

Comments

@santiagopagani
Copy link

There are several scenarios in our documentation in which we would like to embed the same Doxygen function or class more than once in separate rst files (or even the same rst file, but in different places).
When we do that, Breathe raises a warning about duplicated code.
The alternative then is just to have the declaration in one place and link there from other places.

It would be nice to have some option to avoid such a warning though (e.g., using the no-link option?).

The doxygennamespace is particularly annoying in this aspect, as if a namespace is printed anywhere, no doxygenclass belonging to that namespace can be included again without the duplicated code warning.

@vermeeren
Copy link
Collaborator

@santiagopagani This is most likely a duplicate of #321, which has many other duplicates itself throughout the years iirc. Can you confirm?

@ReenigneArcher
Copy link

Facing the same issue. #965

Any solution or workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants