Search code examples
pdf-generationdoxygen

How to order Doxygen groups


Is it possible to order the groups (i.e. Modules) listing in Doxygen PDF output? For example if I build my current C project, the group for commands is listed in the resulting PDF before status as it follows a alphabetical ordering by default whereas I would like status to be listed before commands.

I tried changing the group name and leaving the tag name the same for the module title, but this did not seem to have any effect, e.g.

/** @defgroup g1 Status */   =   /** @defgroup status Status */

Thanks


Solution

  • I used @Cheeseminer's advice here and fiddled with the settings so that only group documentation is shown, then added the files only individually via the INPUT command, listing them in the order I would like.

    Downside is that every time I add a new file to my code-base I have to remember to add it to the INPUT command :\