Doxygen: Difference between revisions
Jump to navigation
Jump to search
(Added information about the preferred style used in Doxygen) |
(→Doxygen Style Guide: Disallowed →! ...: as valid doxygen comments) |
||
Line 29: | Line 29: | ||
Doxygen allows for a variety of commenting styles. In order to maintain uniformity across the entire project the following rules should be applied: | Doxygen allows for a variety of commenting styles. In order to maintain uniformity across the entire project the following rules should be applied: | ||
* For | * For Doxygen comments use only {{codeline|//!}} and NOT {{codeline|/*! ... */}} | ||
* Use {{codeline|@}} for any Doxygen Special Commands | * Use {{codeline|@}} for any Doxygen Special Commands | ||
Line 37: | Line 35: | ||
<pre> | <pre> | ||
//! | //! Comment with special command and syntax highlighting: | ||
//! @code{.cc} | |||
//! double v = 1.0; | |||
//! @endcode | |||
</pre> | </pre> | ||
[[Category:Development]] | [[Category:Development]] |
Revision as of 17:17, 21 September 2017
What is Doxygen ?
Doxygen is the de facto standard tool for generating documentation from annotated C++ sources [1]
Generating the Doxygen documentation for Octave
Doxygen documentation for Octave is easily generated from Octave sources. Instructions can be found in doc/doxyhtml/README.
Where can I browse the Doxygen documentation for Octave ?
Alternatively, you can access version specific Doxygen documentation:
- Doxygen for GNU Octave 4.2.x
- Doxygen for GNU Octave 4.0.x
- Doxygen for GNU Octave 3.8.x
- Doxygen for GNU Octave 3.6.x
- Doxygen for GNU Octave 3.4.x
- Doxygen for GNU Octave 3.2.x
What is the current status of Octave's Doxygen documentation ?
Very little Doxygen documentation is currently available in Octave's source code. Which is why "Doxygen documentation for the C++ classes" is listed in the Projects page of this wiki.
Doxygen Style Guide
Doxygen allows for a variety of commenting styles. In order to maintain uniformity across the entire project the following rules should be applied:
- For Doxygen comments use only
//!
and NOT/*! ... */
- Use
@
for any Doxygen Special Commands
An example of properly used Doxygen would look like:
//! Comment with special command and syntax highlighting: //! @code{.cc} //! double v = 1.0; //! @endcode