32

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?

Earlz
  • 62,085
  • 98
  • 303
  • 499

2 Answers2

55

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.

Rich Edelman
  • 566
  • 5
  • 2
25

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

Malice
  • 3,927
  • 1
  • 36
  • 52
  • Heh, I actually was using the wizard when I asked this. I imagine it was just obvious to look for the setting in expert mode – Earlz Nov 26 '12 at 15:21
  • 2
    @Earlz: I had the exact issue described in your question and this was one of the first links that a Google search brought me to. I find the GUI a bit easier to use and I figured the mentioned setting MUST be in there somewhere. The image is there so I can point people to it in future :-) – Malice Nov 26 '12 at 16:17
  • Much appreciated guys – 10SecTom Feb 02 '18 at 13:28