Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/c/64.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C 有没有办法自定义Doxygen index.html(和latex等效文件)的输出?_C_Doxygen_Literate Programming - Fatal编程技术网

C 有没有办法自定义Doxygen index.html(和latex等效文件)的输出?

C 有没有办法自定义Doxygen index.html(和latex等效文件)的输出?,c,doxygen,literate-programming,C,Doxygen,Literate Programming,我感兴趣的是在index.html页面上写一篇“简介”,而不是空白。这是Doxygen工具支持的功能,还是我必须编写一个hack 这一点可以通过以下内容中的第一个问题得到回答: 1。如何以HTML格式获取索引页上的信息? 您应该在注释块中使用\mainpage命令,如下所示: /*! \mainpage My Personal Index Page * * \section intro_sec Introduction * * This is the introduction. *

我感兴趣的是在index.html页面上写一篇“简介”,而不是空白。这是Doxygen工具支持的功能,还是我必须编写一个hack

这一点可以通过以下内容中的第一个问题得到回答:

1。如何以HTML格式获取索引页上的信息?

您应该在注释块中使用\mainpage命令,如下所示:

/*! \mainpage My Personal Index Page
 *
 * \section intro_sec Introduction
 *
 * This is the introduction.
 *
 * \section install_sec Installation
 *
 * \subsection step1 Step 1: Opening the box
 *  
 * etc...
 */

如果你想在LaTeX和html输出中寻找更多定制的封面,你可能还想玩标签
LaTeX\u HEADER
html\u HEADER
(和
html\u FOOTER
)。

哦,来吧,奥利,为什么有人会看FAQ的第一个问题!:-)(+1顺便说一下)值得注意的是,此注释(以及任何其他补充文档)可以存在于纯文本文件中,该文件只包含Doxygen标记,不包含代码,独立于任何源代码文件,并添加到Doxygen项目中。