Now some frameworks do not take Javadoc to build, and really use the CHM is the most convenient, so write a log record
Now, I'll take Struts2 's source to raise a chestnut.
1. First step: Create an empty Java project, import the framework source code
2. Step two: Generate Javadoc Web page
Menu Location: Tools->gerenate JavaDoc
It is particularly important to note that adding a parameter -encoding utf-8-charset utf-8 Prevent garbled
At this point, the Javadoc on the Web page generates
3. Step three: Create a CHM file
Copy the Jd2chm.exe program to your Javadoc directory, which is the output directory that you specified when you IntelliJ generated Javadoc.
Then open the CMD CD to the Directory
D:\baiduyundownload\struts-2.3.20\javadoc>jd2chm
And then you lose, like project's name input, enter, and you start to generate the CHM file.
Finally, you get the CHM file you want.
Create Javadoc with INLTELLJ, create CHM with Jd2chm