Doxygen 中的自定义 href 标题?
我有一个词汇表主题页面,其中列出了我想要定义的术语。每个术语看起来像这样:
\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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论