Commit c612b6a
Improve API documentation discoverability (#1167)
* Improve API documentation discoverability and source browsing
Add API nav link to landing page, cross-links in user guide sidebar,
auto-generated module listings for all three Doxygen targets, and
enable SOURCE_BROWSER for click-through to annotated source code.
The gen_api_landing.py script scans src/{target}/*.fpp at build time
to produce docs/{target}/readme.md with explicit @ref links that
handle Fortran case-insensitive namespaces correctly.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Add missing @file documentation blocks to 16 source files
Add Doxygen @file/@brief blocks to 13 modules that were missing them
(m_body_forces, m_igr, m_muscl, m_sim_helpers, m_surface_tension,
m_finite_differences, m_mpi_common, m_nvtx, m_delay_file_access,
m_phase_change, m_check_ib_patches, m_check_patches, m_simplex_noise)
and fix 3 files with malformed comment openers (m_chemistry used !!>
instead of !>, m_data_output and m_helper_basic started with !!
continuation markers instead of !> openers). All file list pages now
show descriptions for every entry.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Exclude strawberryperl.com from lychee (frequently times out)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Fix unlinked module names in Doxygen file list descriptions
Use explicit @ref for mixed-case Fortran modules (m_bubbles_EE/EL/
EL_kernels) so Doxygen resolves the lowercase namespace. Correct
wrong module names in @file briefs: m_boundary_conditions_common ->
m_boundary_common, m_patches -> m_ib_patches / m_icpp_patches.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Auto-fix @file briefs at build time to match module declarations
Add docs/fix_file_briefs.py that reads the actual module/program name
from each Fortran source file and ensures the @file @brief matches,
using @ref for mixed-case identifiers. Runs before Doxygen via CMake
so new files, renames, and case issues are caught automatically.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Fix 472 of 477 Doxygen @param warnings and add WARN_LOGFILE
- Add DOXYGEN_WARN_LOGFILE to CMakeLists.txt and Doxyfile.in to capture
per-target warning logs during documentation builds
- Fix stale, missing, duplicate, and misspelled @param entries across 28
source files (common, pre_process, post_process, simulation modules)
- Common module fixes (m_helper, m_model, m_mpi_common, m_phase_change,
m_finite_differences) eliminate 3x warnings since each is shared across
all three Doxygen targets
- Remaining 5 warnings are structural unbalanced grouping from
fypp macro expansion, not @param issues
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Fix remaining 5 Doxygen grouping warnings (now 0 warnings total)
- m_surface_tension.fpp: typo @) -> @} (close group)
- m_global_parameters.fpp (sim): copy-paste @{ -> @} (close group)
- m_global_parameters.fpp (post): typo #} -> @} (close group)
- m_rhs.fpp: add missing @} closer for index bounds group
- m_compute_levelset.fpp: remove orphaned @} with no matching opener
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Address reviewer feedback on API docs scripts
- gen_api_landing.py: scan .f90 files (not just .fpp), add encoding
and mkdir, add future annotations
- fix_file_briefs.py: exclude module procedure from regex, add
encoding, add future annotations
- CMakeLists.txt: add source file DEPENDS to stamp commands so they
re-run when Fortran sources change
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Fix @param qv description: Fluid reference energy, not Vapor quality
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Add module-level @brief descriptions for all 16 undocumented modules
Doxygen uses the comment block directly before the module declaration
(not the @file header) to populate the Modules List page. These 16
modules only had file-level @Briefs, so they appeared with empty
descriptions on the namespace list pages.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Add subroutine @brief descriptions and sidebar cross-navigation
- Add ~170 !> @brief one-line descriptions to previously undocumented
subroutines/functions across all 45 source files
- Add cross-navigation links (User Guide, Pre-Process/Simulation/Post-
Process API) injected at the top of the Doxygen sidebar via JavaScript
- Fix stale @param ib in s_ib_3D_airfoil
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Rewrite module briefs, add description tables to landing pages, and lint for missing briefs
- Rewrite ~51 module-level !> @brief descriptions to be concise and
descriptive (one sentence, no boilerplate)
- Update gen_api_landing.py to extract briefs from source files and
render module tables with descriptions on API landing pages
- Add check_module_briefs() linter to lint_docs.py ensuring every
m_*.fpp/.f90 has a module-level !> @brief before the module declaration
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 05b26f7 commit c612b6a
94 files changed
Lines changed: 1123 additions & 393 deletions
File tree
- docs
- documentation
- post_process
- pre_process
- simulation
- src
- common
- post_process
- pre_process
- simulation
- toolchain/mfc
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
727 | 727 | | |
728 | 728 | | |
729 | 729 | | |
| 730 | + | |
| 731 | + | |
730 | 732 | | |
731 | 733 | | |
732 | 734 | | |
| |||
806 | 808 | | |
807 | 809 | | |
808 | 810 | | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
809 | 849 | | |
810 | 850 | | |
811 | 851 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
806 | 806 | | |
807 | 807 | | |
808 | 808 | | |
809 | | - | |
| 809 | + | |
810 | 810 | | |
811 | 811 | | |
812 | 812 | | |
| |||
983 | 983 | | |
984 | 984 | | |
985 | 985 | | |
986 | | - | |
| 986 | + | |
987 | 987 | | |
988 | 988 | | |
989 | 989 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
6 | 38 | | |
7 | 39 | | |
8 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1202 | 1202 | | |
1203 | 1203 | | |
1204 | 1204 | | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
767 | 767 | | |
768 | 768 | | |
769 | 769 | | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1049 | 1049 | | |
1050 | 1050 | | |
1051 | 1051 | | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
0 commit comments