I have created group exp
in doxygen comments in code below and added function add
details. Group was created in documentation in Modules
, but it also includes function showInt() without detailing. Why it includes it? How to omit functions that are not in group?
/**
* \defgroup exp Exported utils library functions
* \name utils API
* \brief API provides math functions
*/
#include <iostream>
/**
* \ingroup exp
* \brief Adds two numbers.
*
* This function takes two numbers, adds them, and then returns the result.
*
* \param x The first number to add.
* \param y The second number to add.
* \return The sum of the two numbers.
*/
int add(int x, int y) {
return x + y;
}
void showInt(int value)
{
std::cout << "value=" << value;
}
Doxygen version 1.8.17
doxygen -x Doxyfile
# Difference with default Doxyfile 1.8.17
PROJECT_NAME = "Kyle's Doxygen Test"
PROJECT_NUMBER = "This is just a test of Doxygen"
GENERATE_LATEX = NO
INCLUDE_GRAPH = NO
INCLUDED_BY_GRAPH = NO