我想出了這個變通辦法,這使僞炫魅文本手冊頁,並從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.
*/
感謝您的建議。我剛剛嘗試添加一個@file註釋,其中包含擴展名爲.dox的附加文件的全名,但是其中沒有任何信息出現在man輸出中。 – Troy 2013-05-01 16:11:16