如何解决如何在Doxygen文档中包括文件夹?
| 我想在Doxygen文档中包含文件夹。 我已经尝试过\\ page和\\ include,但是没有用,有人知道怎么做吗?这是树: +根 -+控制器 --- category.php -+型号 --- category.php -mainpage.php解决方法
要添加对问题的评论,\\ page命令会将页面添加到您手动编写的文档中。即如果源文件包含\\ page声明,它将把内容添加到文档索引中。您可以在此处添加其他帮助,例如:
/*! \\page overviewpage Architecture Overview
*
* \\section memorymanagement Memory Management
*
* Some writing you want to appear as a help page in the documentation here.
*/
\\ include命令将包含文件的副本作为源代码块。
我认为您实际上是在问如何使Doxygen添加多个源目录。只要递归设置为YES(这不是默认设置),如果您已将根文件夹设置为Doxygen输入,则它对您的结构就可以正常工作。
RECURSIVE = YES
如果还没有,则可以添加类似这样的文件夹,以及相对于Doxyfile文件的路径。
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
# The INPUT tag can be used to specify the files and/or directories that contain
# documented source files. You may enter file names like \"myfile.cpp\" or
# directories like \"/usr/src/myproject\". Separate the files or directories
# with spaces.
INPUT = src test/src
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。