Q&A
Ask and answer questions to make information more available to wider audiences.
Paisley Moses @mosespaisley   08, May 2023 12:00 AM
documentation of a project
How to create the documentation of a project using Eclipse IDE?
answers 2
 
Answer 1
Jett Deane @deanejett   11, May 2023 09:07 PM
Generate documentation for project:

public class FirstClass{
/* Here is the statements in documentation*/
int user_name;
int user_emailID;
public int getUser_name(){
return user_name;
}
public void setUser_name(int user_name){
this.user_name=user_name;
}
public  int getUser_emailID(){
return user_emailID(){
}
public void setUser_emailID(int user_emailID){
this.user_emailID=user_emailID;
}
}
After generating the documentation of the project, you will get a new folder in the project explorer named as ‘doc’. Open ‘index.HTML’ within the ‘doc’ folder and there we can find the project documentation.

 
Answer 2
Benjamin Broadhurst @benjaminbroadhurst90   11, May 2023 08:33 PM
If we need to generate documentation for a project using Eclipse IDE, select ‘Project’ in a menu item and then select ‘Generate Javadoc’.
Then, we need to add a library (javac.jar) file to the project and specify a location in the system to save the document generated.