Doxygen not documenting static classes?

ε祈祈猫儿з 提交于 2019-12-21 03:25:20

问题


I've been recently using Doxygen for a project of mine. I'm having a problem though that it won't generate the proper documentation for a C# static class. Is there some option I have to enable?

My complete source code for the relevant class is here. And the doxygen file for the namespace is listed here. Also, my Doxyfile is here. It was generated from doxywizard using almost default settings.

As you can see, the class's short description is generated, but the class does not have a page of it's own to see the (documented) static methods and members. Also, the class is not listed in the class index, or really anywhere else. What is the problem?


回答1:


It's been a while since I've created a doxygen config, but try changing the value of EXTRACT_STATIC to YES, and you should get what you're looking for.




回答2:


Just in case anyone is using the Doxywizard GUI rather than editing the Doxyfile by hand, the EXTRACT_STATIC flag is listed on the Expert tab under Build:



来源:https://stackoverflow.com/questions/4998596/doxygen-not-documenting-static-classes

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!