Doxygen

Turns comments into documentation

Doxygen Manual: Doxygen usage
Doxygen is a command line based utility. Calling doxygen with the --help option at the command line will give you a brief description of the usage of the program. All options consist of a leading character -, followed by one character and one or more arguments depending on the option.
https://www.doxygen.nl/manual/doxygen_usage.html

Comments

Note: Doxygen by default ignores regular comments, so to include you must do the following

/// this is a brief comment
//! same again here

/*!
this is a detailed comment
*/

/**
this is also a detailed comment
*/