Closed wandns closed 5 years ago
Unconditionally hiding all undocumented functions is not good. Newly added API members are often undocumented initially -- but we still may need to see them in the overview of API.
But I agree, sometimes hiding undocumented items is required. What we need to do is add some settings similar to HIDE_UNDOC_MEMBERS
and HIDE_UNDOC_CLASSES
in Doxygen (unfortunately, these are ignored by Doxygen during XML generation).
Let's name the new settings as: g_hideUndocMembers
and g_hideUndocCompounds
(according to the Doxygen XML data scheme everything is either a member or a compound). Creating separate settings for functions, variables, typedefs, etc. seems excessive -- two settings for members/compounds should be enough. Then we need to check these two settings and conditionally hide undocumented items in all overview frame files (c_overview_*.rst.in
).
Also, please use TABS for indentation.
Thanks for the feedback. I will make those adjustments.
I will close this pr and open a new one once the requested changes have been implemented.
Some functions were showing up in documentation even though they were not documented: