-
Notifications
You must be signed in to change notification settings - Fork 32
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
synopsis is inconsistent with doxygen+breathe #69
Comments
After examining the |
It seems like it wouldn't necessarily be too difficult to change the synopsis extraction function to also support breathe output. |
My concern is that this an edge case due to the use of lists in the param description. |
I wonder why it isn't finding the paragraph containing |
Could it be because the paragraph is embedded in an inline node? |
This isn't really a problem with this theme's synopsis feature.
I noticed that
sphinx_utils.summarize_element_text()
may yeild the wrong text because doxygen's XML tends to use different paragraph structure, and breathe simply attempts to output a node tree based on the doxygen XML output (1:1).So, I'm suggesting a note about synopsis compatibility with other sphinx extensions that don't use
nodes.paragraph
exactly like sphinx/docutils does.Example
expected results
useing the RST code
parameter's pformat() output
Resulting synopsis for the parameter:
unexpected results (using doxygen+breathe)
using the documented prototype in a header file:
parameter's pformat() output
Resulting synopsis for the parameter:
The text was updated successfully, but these errors were encountered: