是否可以在布局文件中直接引用doxygen内置模块?

时间:2017-08-26 08:51:38

标签: doxygen

我正在尝试使用布局文件自定义doxygen输出。

<tab type="modules" visible="yes" title="" intro="">
    <tab type="user" visible="yes" title="High-level document interface" url="@ref Documents"/>
    <tab type="user" visible="yes" title="Low-level file interface" url="@ref Files"/>
    <tab type="user" visible="yes" title="Utilities" url="@ref Utils"/>
    <tab type="user" visible="yes" title="Types" url="@ref Types"/>
</tab>

输出有一个小问题,即用户定义的页面在树视图中重复。

enter image description here

我尝试使用自定义用户组并引用布局文件中的模块,如下所示:

<tab type="usergroup" visible="yes" url="@ref modules" title="Modules">

但是我最终得到了错误:&#34; 显式链接请求&#39; modules&#39;在布局文件&#39; doxygen_layout.xml&#39;无法解决&#34;

这可以通过引用modules.html文件来解决。

<tab type="usergroup" visible="yes" url="modules.html" title="Modules">

我对这项工作感到非常惊讶,但我不确定它是否是最具防弹性的解决方案。

我可以创建下拉模块菜单吗?

我可以直接引用模块页面吗?

注意: 引用不存在的html文件不会在输出中产生任何警告或错误。

<tab type="usergroup" visible="yes" url="asdf.html" title="Modules">

0 个答案:

没有答案
相关问题