Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Doxygen not documenting static classes?

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?

like image 602
Earlz Avatar asked Feb 14 '11 23:02

Earlz


2 Answers

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.

like image 127
Rich Edelman Avatar answered Sep 17 '22 23:09

Rich Edelman


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:

enter image description here

like image 34
Malice Avatar answered Sep 20 '22 23:09

Malice