Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix doxygen groups in many places #14157

Merged
merged 2 commits into from Jul 24, 2022
Merged

Fix doxygen groups in many places #14157

merged 2 commits into from Jul 24, 2022

Conversation

tjhei
Copy link
Member

@tjhei tjhei commented Jul 21, 2022

It turns out that grouping using @{ and @} only works if it is inside a
doxygen comment like /** / and not inside a normal comment / */, which we use all over the plae. This meant that most of our groupings were incorrect.

  • fix @{ and @}
  • avoid using /*! which is equivalent to /**
  • make some formatting prettier

fixes #14095

It also magically fixes some other stuff:
image

It removes a gigantic amount of unrelated stuff from https://www.dealii.org/developer/doxygen/deal.II/group__Exceptions.html

and probably more. :-)

It turns out that grouping using @{ and @} only works if it is inside a
doxygen comment like /** */ and not inside a normal comment /* */. This
meant that most of our groupings were incorrect.

- fix @{ and @}
- avoid using /*! which is equivalent to /**
- make some formatting prettier
@@ -383,7 +383,7 @@ levels, and accessors for objects of lower dimensionality do not have a
@ingroup grid
*/

//@}
/** @} */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To me, this looks not as nice as would

Suggested change
/** @} */
/// @}

As far as I know, doxygen should also pick up /// comments. If others prefer the version here, I am happy to support that as well.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, those work as well.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My motivation was making it symmetric with the opening @{ which can be grouped with @name etc.

Copy link
Member

@drwells drwells left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked that each bracket has a correctly formatted matching bracket - I found a few that don't fit the convention.

doc/doxygen/headers/iterators.h Show resolved Hide resolved
include/deal.II/numerics/vector_tools_rhs.h Show resolved Hide resolved
include/deal.II/numerics/vector_tools_project.h Outdated Show resolved Hide resolved
include/deal.II/multigrid/mg_tools.h Show resolved Hide resolved
include/deal.II/multigrid/mg_block_smoother.h Show resolved Hide resolved
include/deal.II/dofs/dof_tools.h Show resolved Hide resolved
include/deal.II/lac/identity_matrix.h Show resolved Hide resolved
include/deal.II/lac/petsc_vector.h Show resolved Hide resolved
Copy link
Member

@drwells drwells left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@tjhei tjhei changed the title epic doxygen fixes Fix doxygen groups in many places Jul 23, 2022
@drwells drwells merged commit 95399fb into dealii:master Jul 24, 2022
@tjhei tjhei deleted the epic-doxygen branch July 24, 2022 20:35
mkghadban pushed a commit to OpenFCST/dealii that referenced this pull request Sep 8, 2022
Fix doxygen groups in many places
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

doxygen errors
3 participants