For example, I have $theme global variable that is defined in the configuration file, which is not processed by Doxygen. But I want to document it. I tried to do this:
/**
* @var $theme
* @brief Active theme.
*/
but it didn’t work.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can create a doxygen specific file for documenting variables, something like:
config.dox
This will create a new Doxygen module named “Configuration” which will contain the variable
$theme. You could also associate$themewith a particular class (use@memberofinstead of@ingroup).