markdown - how to add table of contents to doxygen generated html file? -
i have c-project documented doxygen , want add table of contents shows sections , subsections. tried \tableofcontents , [toc] described in doxygen manual, nothing happens. here small example:
/***********************************//** * \file bsp.c * \brief example * * \tableofcontents * * \section sec1 section 1 * blabla * * \section sec2 section 2 * blabla * * \subsection ssec21 subsection 21 * blabla ***********************************/ /***********************************//** * \brief * * \section sec1func funcsection 1 * blabla ***********************************/ void func() { } here in html:
what do wrong? in advance every hint!
the documentation doxygen says, @tableofcontents works on pages (@page, @mainpage), not in regular documentation blocks.
you can still build own table of contents using @ref , bit of html (though isn't nice using builtin command).
Comments
Post a Comment