自定义Doxygen

时间:2018-03-15 11:55:29

标签: doxygen

如何自定义Doxygen的html输出的标题(id =" titlearea")? 我想把文本的一部分加粗。

Doxygen根据PROJECT_NAMEPROJECT_BRIEFPROJECT_LOGO创建默认页面标题,但这些选项不会使用html标记,因此我可以自定义部分文本每个都有。

我无法找到使标题与PROJECT_NAME不同的方法。

1 个答案:

答案 0 :(得分:0)

我们可以使用定制的<script src="https://unpkg.com/webvr-polyfill@0.10.6/build/webvr-polyfill.min.js"></script> <script src="https://unpkg.com/three@0.95.0/build/three.min.js"></script> <script src="https://unpkg.com/three@0.95.0/examples/js/vr/WebVR.js"></script> <span id="angle"></span>文件来实现此目的。使用以下命令生成doxygen html模板:

header.html

然后编辑doxygen -w html header.html footer.html customdoxygen.css 文件。在header.html文件中搜索$projectname变量,然后我们可以在其中添加任何HTML标记或CSS样式。要使其变为粗体,请将原始内容更改为波纹管,以便在生成的html中将其变为粗体。

header.html

然后将文件设置在<strong>$projectname</strong> 文件中,它将拾取自定义的头文件。

doxygen.conf

好吧,如果您想将其变成文本的一部分,我们必须做一些棘手的事情,才能将可用的HTML_HEADER = header.html 变量用于不同的目的,例如:

doxygen.conf

我们在哪里

  • index.html Revision <a target="_blank" href="http://hg.openjdk.java.net/" title="$projectname">$projectnumber</a> last modified at <code>$projectbrief</code> $projectnumber中的PROJECT_NUMBER)包含修订号
  • doxygen.conf$projectbrief中的PROJECT_BRIEF)包含上次修改日期