title: doxygen in c: grouping of defines
body: <p>I'm documenting C code with doxygen. To make the documentation more readable I want to at least add code in every .c/.h file pair to one group using @defgroup and @ingroup. Inside these groups I want to group some defines together using @name blocks.</p>
  
  <p>The result in the "file" pages looks closely to what I expected: Everything that's documented in the file is listed there and more or less nicely grouped.
  In the "module" pages on the other hand only functions and variables are listed and the defines before the first @name block are listed under "variables". All other defines and enums are missing.
  Removing the @name blocks lists all defines/typedefs/enums under "variables". No own sections for macros or enums and no further grouping on these pages.</p>
  
  <p>How do I get all defines and enums in a group listed on the module/group page like on the file pages where the defines/functions etc. are documented?</p>
  
  <p>I use doxygen 1.8.9.1 windows binarires. </p>
  
  <p>My code looks similar to this:
  .h file:</p>
  
  <pre><code>/** @file
  *   blabla
  *   @author bla
  */
  /// @ingroup MY_GRP
  /// @{
  #define SOMEDEF1 1
  /// @name Special defs
  /// @{
  #define SOMEDEF2 2
  /// @}
  enum someenum {
  foo,
  bar
  };
  
  extern int some_variables;
  
  extern void some_proc(int baz);
  
  /// @}
  </code></pre>
  
  <p>.c file looks like this:</p>
  
  <pre><code>/** @file
   *  blabla
   *  @author bla
   */
  /** @defgroup MY_GRP A test group.
    * Description
    */
  /// @{
  #include "my.h"
  
  /// Important variable.
  int some_variable;
  
  /** Important proc
   *  Description
   *  @param baz need this
   */
  void some_proc(int baz) {
  // code
  }
  
  /// @}
  </code></pre>
  
  <p>I let doxygen wizzard generate a doxyfile and also generated a DoxygenLayout.xml file.
  When playing arround with the layout file I found that the "defines" tags on the group pages are empty (they apparently do nothing) while the "defines" in the variables section are generated by a "membergroups" tag... Don't know what to make of this.</p>
  
  <p>Any help is much appreciated. If you need the doxyfile or anything else let me know.</p>