javadoc @docRoot
谁能向我展示该 javadoc 标签的示例吗?
我不太明白如何在代码中使用它
Can anyone show me an example of that javadoc tag?
I don't understand very well how to use it in the code
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
javadoc 文档 有几个很好的例子。它始终指向文档的根目录,因此,如果您想在每个页面上包含某些内容,则可以使用它来查找 javadoc 根目录,因为相对路径因页面而异,
例如,要包含您公司的徽标在每个生成的文档页面的顶部,您可以将
logo.png
放在文档的根目录中,然后添加:到 javadoc 标头
The javadoc documentation has a couple good examples. It always points to the root of the documentation, so if there's something you want to include on every page, you use it to find the javadoc root, since a relative path would be different from page to page
For example, to include your company's logo at the top of every generated documentation page, you might put
logo.png
in the root of the documentation and then add:to the javadoc header
以下是一些标签
示例:http://www.docjar.net/html/api/java/util/Collections.java.html
文档标准:http://www.oracle.com/technetwork/java/javase/documentation /index-137868.html#tag
These are few tag below
example :http://www.docjar.net/html/api/java/util/Collections.java.html
doc standard :http://www.oracle.com/technetwork/java/javase/documentation/index-137868.html#tag