Php 如何在doxygen文档中包含文件夹?
我想在doxygen文档中包含文件夹 我尝试了\page和\include,但都没用,有人知道怎么做吗?这是一棵树: +root -+controllers --- category.php -+models --- categories.php - mainpage.php +根 -+控制器 ---category.php -+模型 ---categories.php -mainpage.phpPhp 如何在doxygen文档中包含文件夹?,php,documentation,doxygen,Php,Documentation,Doxygen,我想在doxygen文档中包含文件夹 我尝试了\page和\include,但都没用,有人知道怎么做吗?这是一棵树: +root -+controllers --- category.php -+models --- categories.php - mainpage.php +根 -+控制器 ---category.php -+模型 ---categories.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添加多个源目录。只要recursive设置为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
这有用吗:?我想知道文件夹包含什么。图像?要记录的类?要包含的HTML文件?@cweiske该文件夹包含要包含的类documented@MattEllen感谢链接:)@Matt Ellen我尝试了链接上的示例,它显示的页面无法单击,并且在该文件夹中有必须记录的类文件,我已使用“添加文件夹和文件树”编辑了我的问题。谢谢