-
Notifications
You must be signed in to change notification settings - Fork 108
6. Doxygen Documentation
GeorgeGayno-NOAA edited this page Aug 26, 2021
·
9 revisions
All Fortran, C, and C++ code in UFS_UTILS shall be documented using doxygen.
All files, modules, module variables, and subprograms must have a doxygen documentation block. All function and subroutine parameters must be documented. All files, modules, and subprograms will identify the author(s).
The presence of doxygen documentation is checked in the Continuous Integration runs. Code cannot be merged without doxygen documentation.
Documentation contents are reviewed as part of code review. Documentation will use proper grammar, complete sentences, and proper capitalization and punctuation.
Some specifics when using doxygen:
- Doxygen block for each:
- file
- subroutine/function
- public variable
- File:
- @file on its own line a top of file
- @brief with one sentence description of file.
- @author at file level with full names (if known).
- Subroutine/Function
- Brief tag is automatic, so don't use it
- @param for every argument; in, out, or inout
- @author