Preface
Recently, the organization translation Android has been worried about how to facilitate translation work. The current form is to copy the API on the page to the WORD before translation. The most troublesome thing is the format problem, let's look at whether we can directly translate the source code, and then use javadoc to generate html-Format documents. It's worth considering!
Statement
You are welcome to repost, but please keep the original source of the article :)
Blog: http://www.cnblogs.com
Farmer's uncle: http://www.cnblogs.com/over140/
Link
Refer to the following two articles:
Use eclipse to generate a document (javadoc)
How to Use Eclipse to generate Javadoc garbled code
Body
1. Procedure
1. Right-click the project to generate the doc and choose "Export". The following page is displayed:
2. Select Java-> Javadoc, click Next, and click Configure on the Right of Javadoc Command to select javadoc.exe. Under the bin directory of jdk, see the following interface:
3. Click Next To Go To The following page, where you can set the index generation, navigation bar, author, version, and other parameters:
4. Click Next To Go To The following page:
Note:
Note the parameter settings in VM options. Otherwise, you can click Finish to generate the parameter. Note the generation information of the Console.
Ii. Results
After the file is generated, an additional doc folder under the root directory of the project contains the generated html document, which is well-developed. The following are:
End
Perform a small-scale test and then modify the style.