How can I display Doxygen configuration variables? -
i trying display values stored in doxygen configuration variables. simple example "project_name" variable in standard doxyfile configuration file. how can display @ arbitrary location in code?
i've set file called main.dox following contents:
/*! \mainpage main page - @project_name - @project_name - $project_name - ${project_name} */ the value project_name set "my docs" in standard doxyfile configuration. title displays correctly @ top of documentation. on main page, however, code above generates following:
* * * $project_name * ${project_name} how can display my docs in generated output?
you don't. doxygen has no way inject text of configuration variables arbitrary points in code.
you can write custom command, alias/macro can used repeat text in various location. granted, you'll have repeat text of project name, it'll repeated in configuration file:
project_name = project name aliases += projname="project name" in documentation comments, can use \projname or @projname.
Comments
Post a Comment