-
-
Notifications
You must be signed in to change notification settings - Fork 205
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
:need: role is not working inside doxygen comment #807
Comments
@arwedus recently reported that breathe works with sphinx-needs. Maybe there's an additional requirement? Did you put |
Yes, The other features are working fine. E.g.: the following generates a requirement in the doxygen description as intended:
But as soon as I add this inline command |
I can't immediately reproduce the error on my side. Which version of docutils are you using? |
I also had docutils 0.17.1. I gave it a try with docutils 0.18.1 today, too. I added the execution steps to the README. |
Ok, I was able to reproduce this with the linked repo from #807 (comment) Reproducible also if you reduce the requirements.txt to breathe==4.33.1
sphinx-rtd-theme==1.0.0
sphinxcontrib-needs==0.7.5
sphinxcontrib-plantuml==0.22 I was also able to reproduce it with breathe rolled back to v4.31.0 and v4.32.0 |
Thanks, that helped reproduce it. Can you try with #812? It seems to fix it in my local test. |
I can confirm #812 fixes the problem. |
@2bndy5, very nice, thanks! |
Thanks for your support! |
Hi,
I use doxygen + breathe + sphinx + sphinx-needs for documentation of a c project.
I ran into a problem the last few days. A simple reference to a need with the
:need:
role is not possible inside a rst enviornment in the doxygen comment.Error:
Logs:
sphinx-err-ir0m7_1p.log
Used rst code:
C code + doxygen comment:
I also added some example of the
:ref:
role. This is working fine if the build is successful (the not working:need:
role is blocking build).The text was updated successfully, but these errors were encountered: