We have a requirement to setup the doxygen report generation based only upon the .dox file. So that unnecessary changes to the source code file can be avoided for just updating doxygen comments. I hope this can be done as per our expectation in doxygen report generation. We need support regarding the same.
At the moment we have added the source files and the other extensions which needs to be parsed for report generationin the FILE_PATTERNS
tag as in below:
FILE_PATTERNS = *.cpp \
*.hpp \
*.c \
*.h \
*.dox
Our expectation is like the doxygen comments will be completely parsed from .dox
file and report will be generated.
Behavior:
We observed the main page was coming from .dox
file comments whereas the references for the API’s, defines, variable defines etc are taken from source code files and .dox
files.(i.e doxygen comments from the source code files). Also sometimes it is taking from source code only and not from .dox
.
Is it a configuration problem or any other ?
The source file Arithmetic.c contain the following code
/**
* @brief square of number
* @param[in] value1
* @return int result
* @description square of value
*/
int square(int x)
{
}
input .dox file:
/*! \fn int square(int x)
\brief Square of value
\param value1 for addition
\return square of given value.
*/
if we generate doxygen report using the above source code and .dox file, then the doxygen report will contain the description of function from both source file and .dox file, But our requirement is to take the description from the .dox file.