如何使用 NetBeans 和 Javadoc 制作文档
我搜索了一段时间,但一无所获。如何在 NetBeans 7.0.1 中制作文档?
我的文件如下所示:
/** Class Description of MyClass */
public class ScanReader{
}
在我的项目属性中,我使用复选框检查了所有选项,而 Javadoc 选项中没有检查任何内容(我尝试使用全局路径使用 -d,但什么也没发生)。 当我进行构建或构建并清理时,我看不到任何有关文档的信息,也看不到项目文件中的任何新内容。
I was searching a while, but nothing found. How can i make documentation in NetBeans 7.0.1?
My file looks like:
/** Class Description of MyClass */
public class ScanReader{
}
In my project properties i checked all options with checkbox and nothing in Javadoc options (i tried -d with global path, but nothing happened).
When i make build or build and clean i dont see anything about documentation and nothing new in project file either.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
在“项目”窗口中右键单击您的项目,然后单击“生成 Javadoc”
Right click your project in Project window and click 'Generate Javadoc'
更新:对于使用 NetBeans 8.0 的用户,除了已经说明的选项之外,您还可以为文件或包创建 Javadoc。
完毕 :)
Update: for those using NetBeans 8.0, besides the options already stated, you can create Javadoc for a file or package.
Done :)
这是通过 Netbeans 生成 Javadoc 的另一种方法。
1.- 单击“运行”菜单
2.- 然后转到“生成 Javadoc (...)”
This is another way that you can generate your Javadoc through Netbeans.
1.- Click on 'Run' menu
2.- Then go down to 'Generate Javadoc (...)'