在主页(氧)中嵌入自述文件

Embed readme in mainpage (doxygen)

本文关键字:自述文件 主页      更新时间:2023-10-16

是否有办法将纯文本文件(README.txt)嵌入到氧的主页?(我用cmake,所以我可以转储变量,但我认为这种类型的东西将内置)。

当然。在主页中。请在README.txt中添加一个链接,作为一个单独的氧分页。

mainpage FooBar
...
section other_docs Additional Documentation`
...
Key features that distinguish the current release, build instructions,
and a history of Project FooBar are described in the
ref README "Foobar README file".

,然后通过将README.txt设置为纯文本页面文件来生成该页面。

page README README
verbinclude README.txt