Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Is there a way to avoid generating "modules" root item from the treeview in doxygen?

I love the flexibility module-grouping gives you to customize the document structure. I am wondering if there is any way (configuration or custom code) to remove the automatically created "Modules" treeview layer?

<tab type="modules" visible="Yes" title=""/>

current documentation structure

Note: I do not wish to change the title. I wish to remove the layer while keeping its children.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

To the best of my knowledge there is no direct way to do this.
The following is a workaround but I don’t know all the implications and side effects.

I did a small test with

/// \file

/// @defgroup grp1 First Group
/// the first group

/// @defgroup grp2 Second Group
/// the second group

In the file modules.js we see:

    [ "First Group", "group__grp1.html", null ],
    [ "Second Group", "group__grp2.html", null ]

In the file html/navtreedata.js we see:

    [ "Modules", "modules.html", "modules" ],

When we replace this line with

    [ "First Group", "group__grp1.html", null ],
    [ "Second Group", "group__grp2.html", null ],

it looks like you get the requested result, but this workaround has to be done by hand and as written before the side effects are unknown.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading