【发布时间】:2015-09-18 23:43:20
【问题描述】:
我添加了一个\dir 注释来为目录提供额外的文档。但是我无法使用我知道的任何 doxygen 链接技术链接到该目录文档。我的问题是:如何正确链接到目录的文档?
下面是我尝试过的sn-p。我收到两个警告,但没有生成链接。 doxygen 手册的自动链接部分讨论了Links to other members,但它没有提到到目录的链接。是否支持链接到目录文档?如果是这样,我做错了什么还是这是一个错误? (我现在正在使用 1.8.10。1.8.9.1 的行为方式相同。)
这是我尝试过的。我已经使用
记录了目录/// \dir cpp/vtutil
///
/// \brief Brief description of the dir cpp/vtutil goes here
///
/// \details A more detailed description goes here.
///
我引用目录使用
/// \file
/// \brief Implements the vt application class.
///
/// This file is in the \ref cpp/vtutil directory.
/// What about #cpp/vtutil
以下是警告:
warning : unable to resolve reference to `cpp/vtutil' for \ref command
warning : explicit link request to 'cpp' could not be resolved
文档用于目录,但似乎没有办法引用它。我真诚地感谢任何帮助。
【问题讨论】:
-
我创建了一个目录 cpp/vtutil,其中包含一个文件 dir.c 和一个文件 vt.c,其中分别包含 \dir 和 \file 的内容。我已将进一步默认的 Doxyfile RECURSIVE 设置为 YES。据我所知,我只收到有关 \ref 命令链接的显式链接的消息。
标签: doxygen