It is really very simple. All I need to do is just put "-linksource" option when I use javadoc tool. In netbeans, it is very easy to generate javadoc by right clicking the project and selecting "Generate Javadoc" menu item. In order to include java source code, we need to add options to project properties as below,
- right click your project and select properties.
- selecting Documenting under Build node in the pop up window.
- adding -linksource in the "Additional Javadoc Options" text field.
No comments:
Post a Comment