我想出了这个解决方法,它将伪主页文本放在手册页中,并从 HTML 主页放置一个很好的链接:
/**
* @mainpage
* Summary of my simple project. Please see @ref foo.h for more details.
*
* @file foo.h
* @brief Summary of my simple project.
*
* Here is the much more detailed description of my project,
* originally intended for the main page. Since I value the quality
* of man page output the most, this will end up on the individual
* file man page, and will be linked to from the HTML main page.
* I can rattle on with other things like...
* @todo find a better solution to the mainpage problem.
*/