Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch coordinate-frames.doxygen.py to use member groups
The previous approach used Doxygen global module groups. This switches to member groups, which has the benefit of nesting documentation under the coordinate-frames namespace rather than leaving it at the top-level in a Modules page. Also, the find-and-replace operations are significantly easier since they don't require any name-mangling for \defgroup commands. From a Jupytext percent script output file, perform the following: Find | Replace ---------------------------|----------- `$$` (start) | `\f[` `$$` (end) | `\f]` `$` | `\f$` `# %% [markdown]` (first) | `## \file` `# # Header Title` | `# more words` | `## @{` | `# # Header Title` | `# more words` `# %% [markdown]` (others) | `# # Other Header` | `## @}` `# more words` | | `## @{` | `# # Other Header` | `# more words` `# %% [markdown]` (last) | `# # Last Header` | `## @}` `# more words` | | `##` | `# # Last Header` | `# more words` The first \file is required because, from Doxygen documentation: > To document a member of a class, you must also document the class > itself. The same holds for namespaces. To document a global > function, typedef, enum or preprocessor definition you must first > document the file that contains it. The @{ and @} commands are required to establish that this markdown will apply to any code cells beneath it until the next markdown cell. Notice the use of whitespace before and after the ## @} and after the # @{ commands. These seem to be required: https://stackoverflow.com/a/62226036/2597078
- Loading branch information