Zer*_*ard 12 c documentation doxygen
我确定这已经被问到了某个地方,但我似乎无法找到它,所以就这样了.
我正在用C创建一个程序并使用Doxygen生成文档.我对结果非常满意,但主页没有内容.我想在主页面上按字母顺序填写程序中使用的所有函数和结构的列表.
我对Doxygen了解不多,除了我过去常常使用的简单教程.这似乎是Doxygen能够完成的任务,但到目前为止,我发现的是有关如何创建自定义主页的说明.
是否可以使用Doxygen在主页面上自动生成功能和结构列表?
小智 -4
我建议您使用@mainpage。此函数更改了主页的标题,然后您可以使用 @brief 等函数来获取简短信息。
使用 html 标签创建部分,对我来说它有效。然后在带有函数@see的新部分中,您可以从主页转到函数或文件。这是一个工作示例:
/**
* @mainpage WATCHDOG
* <hr/>
* @setion <b> File tree<b/>
* @brief Here you can see the main files which are used.
* @see io.c
* @see watchdog.c
* @see watchdog.h
* <p/><br/>
* <hr/>
* In this part we have few main functions used by the programm
* <p/><br/>
* @see watchdog_init_s();
* @see fpga_resetregs_init_s();
* @see watchdog_read(int add, unsigned int ws );
* @see watchdog_reset_io_write(WD * watchdog, unsigned int* data,unsigned int *ws );
* <hr/>
*/
Run Code Online (Sandbox Code Playgroud)