Html 路径为目录时,Doxygen引用链接失败

Html 路径为目录时,Doxygen引用链接失败,html,doxygen,Html,Doxygen,我使用doxGEN用于C++项目文档生成,使用>REF > .MD 文件。一些@ref在html页面中生成真正的超链接,而另一些则不会(当.md文件的realpath更深时) 复制: Doxygen版本:1.9.2(来自github repo,最新提交) 系统:ubuntu 20.04 项目结构: Doxyfile: ... INPUT: root.md \ ../src/rok_core/doc/test.md \ ../src/rok_core/do/test.md \ ... d

我使用doxGEN用于C++项目文档生成,使用>REF > <代码> .MD 文件。一些
@ref
在html页面中生成真正的超链接,而另一些则不会(当
.md
文件的realpath更深时)

复制:


  • Doxygen版本:1.9.2(来自github repo,最新提交)
  • 系统:ubuntu 20.04
  • 项目结构:
Doxyfile:

...
INPUT: root.md \
../src/rok_core/doc/test.md \
../src/rok_core/do/test.md \
...
doc/root.md

Rok {#mainpage}
===

- @ref test
- @ref test2
test {#test}
=====
test2 {#test2}
=====
src/rok\u core/doc/test.md

Rok {#mainpage}
===

- @ref test
- @ref test2
test {#test}
=====
test2 {#test2}
=====
src/rok\u core/do/test.md

Rok {#mainpage}
===

- @ref test
- @ref test2
test {#test}
=====
test2 {#test2}
=====
预期行为:test和test2都是主页中的链接(由root.md生成),但实际上
test2
是链接,而
test
不是链接


好吧,我终于明白是我的错了。我提供的示例可以生成所有@ref链接。我写错了包含我的文档目录的排除,导致了这个愚蠢的问题。非常抱歉。

根据问题中的信息,在将
输入
标记更正为:

INPUT= root.md \
../src/rok_core/doc/test.md \
../src/rok_core/do/test.md
(Doxyfile的其余部分保留为空)。 我启动了doxygen(1.9.2(97cb0de4dab1f9eb77325f7ee9f46dcaed8b0c69)),结果是:


如果两个
test
s都是链接(到正确的位置)。

从github repo,最新提交是一个移动目标,请始终使用
doxygen-v
的完整信息。