breathe
breathe copied to clipboard
doxygenfile directive - sections filter not operating as expected
I'd like to include only the "static" functions from a file using the doxygenfile
directive. The doxygen xml for this function is shown below:
<memberdef kind="function" id="speed__fusion_8c_1a591747cae070ecfc0bba5f483f9fc158" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
...
</memberdef>
From the doxygenfile documentation, I tried using the sections setting: public-static-func, but only the func setting works, and it's including non-static functions that I wanted to exclude from this section.
@smitchell7 The doc table was added in #509 with original implementation in #501. I don't believe this has been touched much since it was added 3 years ago. It could be the Doxygen/Breathe types changed somewhat, or that this specific case never worked in the first place.
You might be able to re-diff something like https://github.com/breathe-doc/breathe/pull/509#issuecomment-615934225, based upon Breathe source code and Doxygen's (link in the comment above xmlgen.cpp
). I'm a bit short on time now to deep dive into this issue, so hopefully these are some helpful pointers.