有没有办法避免生成“模块”。 doxygen中的树视图中的根项目?
我喜欢灵活性模块组使您可以自定义文档结构。我想知道是否有任何方法(配置或自定义代码) 删除自动创建的“模块”树视图层?
<tab type="modules" visible="Yes" title=""/>
注意:我不想更改标题。我希望在保留孩子的同时删除层。
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=""/>
Note: I do not wish to change the title. I wish to remove the layer while keeping its children.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
据我所知,没有直接的方法可以做到这一点。
以下是解决方法,但我不知道所有含义和副作用。
小测试
在文件
模块中
进行
我
了一个 获取要求的结果,但是此解决方法必须手工完成,并且在副作用未知之前写成。
正如@jpgarza撰写的副作用是:
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
In the file
modules.js
we see:In the file
html/navtreedata.js
we see:When we replace this line with
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.
As written by @JPGarza a side effect is:
可以从
doxygenlayout.xml
手动删除。It can be manually removed from the
DoxygenLayout.xml