I’m trying to document several similar functions at once using Doxygen groups. I would like the functions to share the same documentation as shown in the example here.
// @{
//! @brief Some documentation
int func1(void);
int func2(void);
// @}
// @{
//! @brief Some other documentation
int func3(void);
int func4(void);
// @}
However, when I run doxygen, only the 2nd group displays the @brief message in the HTML output. Am I doing something wrong, or is this a potential bug?
Note, I am not trying to nest groups, which the doxygen documentation says is not allowed.
Solved!
The documentation to be factored out for each function group must precede the opening braces: