User Tools

Site Tools


design:coding_style_guide

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
design:coding_style_guide [2025/05/05 15:17] – [Commenting] asiedesign:coding_style_guide [2025/05/05 15:17] (current) – [Commenting] asie
Line 52: Line 52:
 </code> </code>
  
-===== Commenting =====+===== Documentation =====
  
 Use [[https://www.doxygen.nl/manual/docblocks.html|Doxygen-compatible]] formatting for all user-facing documentation comments: Use [[https://www.doxygen.nl/manual/docblocks.html|Doxygen-compatible]] formatting for all user-facing documentation comments:
Line 58: Line 58:
   * Javadoc-style ''%%/** .. */%%'' blocks for documenting functions, types, macros and/or where larger comment blocks are warranted;   * Javadoc-style ''%%/** .. */%%'' blocks for documenting functions, types, macros and/or where larger comment blocks are warranted;
   * For one-line comments, such as on enumerated types, ''%%///<%%'' can be used.   * For one-line comments, such as on enumerated types, ''%%///<%%'' can be used.
-  * When writing internal header macros/functions that are not meant for the library user, put such code between ''%%/// \cond INTERNAL%%'' and ''%%/// \endcond%%'' blocks.+  * When writing internal header macros/functions that are not meant for the library user, put such code between ''%%/// @cond INTERNAL%%'' and ''%%/// @endcond%%'' blocks.
 ===== Best practices ===== ===== Best practices =====
  
design/coding_style_guide.txt · Last modified: 2025/05/05 15:17 by asie