开发者

Is there a way to customize output of Doxygen index.html (and latex equivalent)?

开发者 https://www.devze.com 2023-04-01 10:54 出处:网络
I am interested in writing an \"introduction\" on the index.html page, rather than have blank space.Is this a feature supported by the Doxygen tool,开发者_如何学运维 or must I put together a hack? Thi

I am interested in writing an "introduction" on the index.html page, rather than have blank space. Is this a feature supported by the Doxygen tool,开发者_如何学运维 or must I put together a hack?


This is answered by the first question in the Doxygen FAQ:

1. How to get information on the index page in HTML?

You should use the \mainpage command inside a comment block like this:

/*! \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...
 */


If you are looking for more customised cover pages in both LaTeX and html outputs, you might also want to play with the tags LATEX_HEADER and HTML_HEADER (and HTML_FOOTER).

0

精彩评论

暂无评论...
验证码 换一张
取 消