我有个问题。
我在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"更多推荐
发布评论