Marco A.
Marco A.

Reputation: 43662

Doxygen - any way to get a module hierarchy?

It seems that even if I specify my groups as follows:

@defgroup MainGroup
@brief ...

@defgroup SubGroup1
@brief ...
@ingroup MainGroup

@defgroup SubGroup2
@brief ...
@ingroup SubGroup1

The hierarchy in the "Modules" chapter isn't being respected by doxygen in the latex output (rendered as PDF): all the groups are treated as modules in the same level:

Modules
  MainGroup
  SubGroup1
  SubGroup2

Any way to solve this?

Upvotes: 2

Views: 3276

Answers (2)

eDeviser
eDeviser

Reputation: 1863

This seems to be a bug in doxygen's latex generator. I found a bug report here:

https://github.com/doxygen/doxygen/issues/842

So I think the only way to solve this problem is fixing the bug itself.

Upvotes: 1

Denise Skidmore
Denise Skidmore

Reputation: 2416

If you laid out references to these groups on pages you could make a tree view of the pages. Or sections can go down a couple levels of tree (section, subsection and subsubsection). But I don't believe there is a specific way to set subgroups other than the default subgroups.

Upvotes: 2

Related Questions