33
votes

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?

2

2 Answers

53
votes

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.

25
votes

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