【问题标题】:Doxygen does not produce links in Markdown inline code commentsDoxygen 不会在 Markdown 内联代码注释中生成链接
【发布时间】:2014-06-26 23:33:38
【问题描述】:

我正在尝试在 Doxygen 处理的 Markdown 文件中编写一些文档。一切正常,除了在我的内联代码块中,cmets 不会触发 Doxygen 链接生成。事实上,我认为 Doxygen 只是在此类 cmets 中“关闭”,因为它的所有命令似乎都不起作用,并且文本只是按字面意思打印。

一个例子:

~~~.cpp
// Here be some code
MyClass x; // (a)

// (b) For another option for y, see MyClass2
OtherClass y;
~~~

在 (a) MyClass 正确链接到其相应的文档页面。然而,在 (b) 中,MyClass2 无法链接。我尝试使用@ref、 和其他命令无济于事。关于如何使其工作的任何想法?

【问题讨论】:

    标签: hyperlink comments markdown doxygen


    【解决方案1】:

    按照手册的建议尝试~~~{.cpp}http://www.doxygen.org/manual/markdown.html#md_fenced

    【讨论】:

    • 不幸的是它不起作用 - 事实上没有任何变化。 cmets 中的标识符仍未突出显示。
    猜你喜欢
    • 2017-05-31
    • 1970-01-01
    • 1970-01-01
    • 2014-04-29
    • 2013-12-31
    • 1970-01-01
    • 2013-07-11
    • 2013-06-15
    • 1970-01-01
    相关资源
    最近更新 更多