首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >DO2 .dox文件中的注释

DO2 .dox文件中的注释
EN

Stack Overflow用户
提问于 2014-11-24 15:38:53
回答 1查看 1.1K关注 0票数 1

我有一个.dox文件,希望插入一些在实际文档中不会显示的注释。

尝试只使用//,Horever,当我尝试时,所有的文本ir都删除了。

代码语言:javascript
复制
/// \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.
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-11-24 18:08:48

这里有几个选择:

  1. \cond . \endcond包围你想单独留下的文本
  2. 有一个完全独立的注释部分,只包含// --即不要将//混合在///部分的中间。您所看到的是,第一个//结束doxygen注释块,因此它将停止输出。
  3. 在doxygen部分/// <--! A comment is here -->中使用HTML注释语法
票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/27108506

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档