Embed readme in the home page (doxygen)

Is there a way to insert a text file (README.txt) into the main page for doxygen? (I trick this with cmake, so I can reset the variable, but I think this type of thing will be built).

+4
source share
1 answer

Of course. In your mainpage.dox (or whatever you call it) put a link to your README.txt in a separate page for oxygen.

\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".

and then later, generate this page by creating the README.txt file as a regular text file.

\page README README
\verbinclude README.txt
+2
source

Source: https://habr.com/ru/post/1532200/


All Articles