[Switch] Create a CHM-format open-source document by yourself

Source: Internet
Author: User

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.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.