-
Notifications
You must be signed in to change notification settings - Fork 1.6k
CGAL documentation: different ways skip things from the documentation #2448
Description
I am writing of piece of documentation for Mesh_3, using the "inline" method:
having the documentation of a class directly in its header, in Mesh_3/ include/CGAL/ (by opposition to having a dedicated file in Mesh_3/doc/ Mesh_3/CGAL/).
There are public types and methods that I do not want to document. To "hide"
those methods from the documentation, I have already found three different
ways:
-
Using
#ifdef/#ifndef DOXYGEN_RUNNING -
Using the Doxygen command
\internal -
Using the Doxygen pair of commands
\cond DEVELOPERand\endcond(where
DEVELOPERis a string of your choice).
In CGAL,
DOXYGEN_RUNNINGis used 200 times,\internalis used 15 times,- and
\condis used with multiple strings:- 1
\cond SKIP - 1
\cond SKIP_DOXYGEN - 1
\cond SKIP_IN_DOC - 3
\cond(without keyword) - 4
\cond SKIP_FROM_MANUAL - 8
\cond CGAL_BEGIN_END - 11
\cond DEVELOPERS - 15
\cond CGAL_DOCUMENT_INTERNALS - 18
\cond CGAL_DOCUMENT_INTERNAL - 229
\cond SKIP_IN_MANUAL
- 1
I think we should write recommandations. Currently, our guidelines mention
the three possibilities but I think we should try to unify.
Addition: \internal cannot be used to skip a member function entirely. But only parts of a comment block.