Conversion from: Create a CHM-format open-source document by yourself
Next I will introduce a tool to quickly convert HTML documents into CHM documents:
Two tools are required: 1.html help. EXE 2.jd2chm.exe,
Tool: Click me ~
1. In general, we need to first install htmlhelp.exe, and jd2chm.exe does not need to be installed. After htmlhelp. EXE is installed successfully, you may need to restart your computer.
2. After restarting, copy jd2chm.exe to the directory where the HTML document is located, for example:
Note: You can also store the jd2chm.exe file in the c: \ windows \ system32 folder. Both methods are used to allow the DOS window to find the EXE file.
Which method depends on your own needs. If it is frequently used, the data center can be in system32, saving the trouble of copying data each time.
3. Open the CMD command line window ---> Find the directory where the HTML document is located ---> enter the jd2chm command ---> press Enter:
---> Enter the project name jbpm4.3 (Do not enter Chinese characters or spaces. Otherwise, an error will occur!) ---> Press ENTER ---> enter the title jbpm4.3 ---> press Enter :;
Basically, you can wait for the CHM file to be generated. It may take a little time.
========================================================== I'm Meng da split line ========================
If we do not have an HTML document, but only the framework source code, how should we create an API document at this time?
First, create a Java project and copy the source code of the Framework (generally all files under the src/Java folder) to the src directory of the new project.
After copying, IDE (eclipse or myeclipse !) An error will be prompted. You can import the missing package according to the error.
Then, we can use the export-> javadoc function of eclipse or myeclipse to export,
Finally, enter the document name and other information.