Doxygen 中的自定义 href 标题?

发布于 2025-01-11 03:32:31 字数 645 浏览 3 评论 0原文

我有一个词汇表主题页面,其中列出了我想要定义的术语。每个术语看起来像这样:

\anchor glossdefinedterm
<dl>
    <dt>defined term</dt>
    <dd>The defined term is a word in the glossary that we define. Lorem ipsum...</dd>
</dl>

然后,我在其他地方@reflossdefineterm“定义的术语”。我想要做的是提供定义文本,使其在生成的 HTML 中显示为链接的“标题”属性,因此:

This is called a <a href="path/to/glossarytopic.html#glossdefinedterm" title="The defined term is a word
in the glossary that we define. Lorem ipsum...">defined term</a>.

这样,用户不必单击定义的术语要查看定义,只需将鼠标悬停即可。

我怎样才能做到这一点?

非常感谢您的建议!我是 Doxygen 新手,所以打字要慢。 :)

I've got a glossary topic page that lists terms I want to define. Each term looks like this:

\anchor glossdefinedterm
<dl>
    <dt>defined term</dt>
    <dd>The defined term is a word in the glossary that we define. Lorem ipsum...</dd>
</dl>

Then, I @ref glossdefinedterm "the defined term" elsewhere. What I'd like to do is provide the definition text in such a way that it shows up as the "title" property of the link in the generated HTML, thusly:

This is called a <a href="path/to/glossarytopic.html#glossdefinedterm" title="The defined term is a word
in the glossary that we define. Lorem ipsum...">defined term</a>.

This way, the user won't have to click the defined term to see the definition and can just mouse-hover instead.

How might I accomplish this?

Thanks much for suggestions! I'm a Doxygen newbie, so type slowly. :)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文