Reputation: 1565
I have a .dox file and want to insert some comments that will not be displayed in the actual documentation.
Have tried using only //
, Horever, when I tried, all the text ir removed.
/// \defgroup desc_polyhedra Polyhedra
///
// If you want to prevent that a word that corresponds to a
// documented class is replaced by a link you should put a % in
// front of the word.
///
/// \section Polyhedron
///
/// A polyhedron is a solid in three dimensions with flat faces,
/// straight edges and sharp corners or vertices.
///
/// Amongst the many examples of polyhedra, the Cuboid and
/// Prismatoid structures will be considered in more detail.
/// Here is a brief summary of cuboids and prismatoids.
Upvotes: 1
Views: 1711
Reputation: 3078
A couple of options here:
Surround the text you want left alone with \cond
... \endcond
Have a completely separate comment section with only //
- i.e. don't mix //
in the middle of the ///
section. What you are seeing is that the first //
ends the doxygen comment block, so it stops coming out in the output.
Use HTML comment syntax within the doxygen section /// <--! A comment is here -->
Upvotes: 2