MADNESS
0.10.1
|
MADNESS code should be documented using doxygen-style comment blocks. More information on doxygen can be found at the doxygen website. This module illustrates how to document your files with doxygen.
Every file needs \file
and \brief
near the top, and usually \addtogroup
or . then the file-level documentation acts as documentation for that module or group, otherwise it acts as documentation for the file. Note that doxygen is really picky about placement and association of comments so you always have to check what was generated.
Links to known classes (such as madness::World
), functions (such as madness::error()
), and files (such as madness.h) are made automatically.
Use the \par
directive to make subsections with an optional heading. Doxygen's section and subsection directives should not be used for now.
Here is an example header file that appropriately uses doxygen comment blocks.
And here's the corresponding implementation file.