Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multi-bullet Doxygen @note?

In non-Doxygen comments, I often have:

/* Lorem ipsum etc.
 *
 * Notes:
 * - A first note.
 * - Some other note note.
 */

But with Doxygen, I have @note (or \note), not @notes). So, should I use multiple @notes, or do I put all notes under the same @note?

like image 564
einpoklum Avatar asked Nov 25 '15 13:11

einpoklum


People also ask

How do you add bullet points in doxygen?

By putting a number of column-aligned minus (-) signs at the start of a line, a bullet list will automatically be generated. Instead of the minus sign also plus (+) or asterisk (*) can be used. Numbered lists can also be generated by using a minus followed by a hash or by using a number followed by a dot.

What is @brief in doxygen?

Putting the command @brief will generate a short description of the function when you generate the doxygen documentation. That short description can be extended if you want. Follow this answer to receive notifications.

How do you make doxygen comments?

To create a Doxygen comment from scratch: Type one of the following symbols: /// , //! , /** or /*! and press Enter .

Can doxygen generate markdown?

Including Markdown files as pagesDoxygen can process files with Markdown formatting. For this to work the extension for such a file should be . md or .


1 Answers

The @note command results in a paragraph which format can be customized in the CSS file or in the style file when using Latex. So you can just use the markups like in a "normal" text:

/**
 * Bla bla...
 *
 * @note Even in a note you can use markups:
 *       - Your first note
 *       - Youre second note
 *
 * The note section ends with an empty line or the end of the comment.
 */
like image 67
gmug Avatar answered Oct 18 '22 00:10

gmug