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:

link output of example

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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -