我有一个问题 Doxygen GUI
我目前使用的版本是 Doxygen 1.8.19
我正确地选择了扫描源代码的项目路径和目录,并且激活了 EXTRACT_ALL
到 ENABLE
.
我看到的输出。
我把.cpp和.c代码放在一起。但main是cpp,所以我在main.cpp中添加了详细文件作为。
/**
* @file : main.cpp
* @brief : Main program body
当我运行doxygen按钮时,我看到的是:
清空主页面,我看不到另一个Tab。
如何解决这个问题?
我的源代码。
在main.cpp文件中
/**
*@mainpage MyPROJECT
*
*
*
*/
/**
*@file main.cpp
*@brief This is the main source code of the project.
*/....
在main.h文件中
/**
*@mainpage MYPROJECT
*
*
*
*/
/**
*@file main.h
*@brief This is the main source code of the project.
*/
...
在主页上获取文本不是由文件名触发的,但可以通过以下方式实现
@mainpage
命令(见 https:/www.doxygen.nlmanualcommands.html#cmdmainpage)USE_MDFILE_AS_MAINPAGE=my_main.md
(见。https:/www.doxygen.nlmanualconfig.html#cfg_use_mdfile_as_mainpage)小编注:当文件文档与文件本身在同一个文件中时,文件名中带有的 @file
命令是不必要的(而且 @file
实际上可以省略。该 :
也是不行的。
我解决了这个问题.对于和我一样出现错误的人。
之前 "Run doxygen"
将Doxygen文件保存到 main.cpp
文件复制到那里。例如,你的 main.cpp
Srcmain.cpp中的文件,而不是将 "Doxygen.txt "文件复制到Srcmain.cpp中。
这样就可以了!