【发布时间】:2015-10-02 16:09:24
【问题描述】:
我想将文档片段合并到一个页面上。
我的用例是我有两个不同的源模块,我想在其中放置一个 doxygen 片段。然后在第三个源模块中,我想放置一个引用片段的@page。
我希望当文档生成时,我会看到这 5 个片段合并到一个 .html 页面上。
页面/子页面系统不起作用,因为它只是在页面上放置文档片段的链接。我希望将片段合并到一个页面上。
这是第一个 .c 文件:
/*! @setfrag FRAG1
** this is some text for fragment 1
*/
这是第二个文件:
/*! @setfrag FRAG2
** This is some text for fragment 2.
*/
这是第三个文件:
/*! @page SOMEPAGE Page demonstrates consolidating fragments.
** @getfrag FRAG1
** @getfrag FRAG2
*/
【问题讨论】:
标签: doxygen