如何制作Doxygen复制“* /”而不进行处理(How to make Doxygen copy “*/” without processing it)

编程入门 行业动态 更新时间:2024-10-19 12:41:07
如何制作Doxygen复制“* /”而不进行处理(How to make Doxygen copy “*/” without processing it)

我有个问题。

我在Doxygen文档中有一个mainpage ,其中,结束注释分隔符“* /”在注释中,这是Doxygen停止生成页面的地方,因为它认为这是它的结束。 如何在不加工的情况下将Doxygen复制?

它看起来像这样:

/** @mainpage The end comment delimiter in Doxygen is */ ... bla bla bla... **/

在这里我要提一下,我已经尝试过@code和@verbatim ,但是那些正在编写代码块,我不想这样做。

提前致谢!

I have a question.

I have a mainpage in Doxygen documentation, inside which, the end comment delimiter "*/" is in a comment, and that is where Doxygen stops generating the page, because it thinks that is the end of it. How can I make Doxygen copy it without processing it?

It looks something like this:

/** @mainpage The end comment delimiter in Doxygen is */ ... bla bla bla... **/

Here I should mention that I have already tried @code and @verbatim, but those are making code blocks, which I do not desire.

Thanks in advance!

最满意答案

这也是一个黑客,但对于HTML和LaTeX输出,你可以使用

/** @mainpage The end comment delimiter in Doxygen is \endcomment ... bla bla bla... **/

以及配置文件中的以下别名定义:

ALIASES = endcomment="\htmlonly*/\endhtmlonly\latexonly$\ast$/\endlatexonly"

It is also a bit of a hack, but for HTML and LaTeX output you could use

/** @mainpage The end comment delimiter in Doxygen is \endcomment ... bla bla bla... **/

Along with the following alias definition in the config file:

ALIASES = endcomment="\htmlonly*/\endhtmlonly\latexonly$\ast$/\endlatexonly"

更多推荐

本文发布于:2023-04-29 13:00:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1336348.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:而不   Doxygen   processing   copy

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!