zeal--handy offline API documentation Daquan!

Source: Internet
Author: User
Tags documentation
Introduced

As a programmer, learning in the work is unavoidable to query the API documentation, after all, we can remember things limited, and often will encounter an API for a moment to think about the situation, and every time you have to open the page to query or is quite troublesome, This time has a good local offline API documentation to come in handy, thanks to the Dash (MAC), Zeal's documentation is very rich, as of 2018.8.23 there are 192 API documents, the official address: Zeal, pull to the bottom can see the list of supported documents.

(Ps:zeal downloaded documents are English documents, also can exercise English document reading ability Oh, it seems to be able to download Chinese documents offline Document package, but I did not explore)

Download the document

How to install not to say, open the installation package point next to the line, how to use it? Zeal after the installation is not directly available, but we need to manually select the API to download the document, of course, you should choose to download the document before you choose the location of the document, zeal the default installation location is C drive, the document storage address is also, So you need to create a new folder in the disk outside of the C drive (if you want to put a C drive), and then in the upper left corner of the zeal option Edit > Prefrrences Click on the Open panel, click the arrow to change the folder path you want to store

Next, download the document and click on the top left corner options Tools > Docsets to open the following panel:

The tab on the left is installed, which is the document you have downloaded, and the tab on the right is the one you can download without downloading, double click to download it. Wait a little while the download is complete and appears in the list on the left side of Zeal's main page.

Use

Use is also very convenient, you can directly search for the API you want, such as search slice, will have you already downloaded all the documents have this API is listed, through the preceding icon to distinguish.

You can also use Javascript:slice to limit the search for slice APIs in JavaScript only

A pit

In the toss of the zeal encountered a problem, that is clearly in the panel click on the download, but the list has been downloaded does not display the document, the main page can not see the document, refresh the list and then appear in the list is not downloaded.

At that time I downloaded the JavaScript package, the packet problem I was sad, and then tried to download the other package is not a problem, open the document folder has been downloaded, but still can not display. No similar problems were found after surfing the internet, or because my keywords were incorrect.

After a look, the JavaScript package is found to compare to the other packages, In the package's documentation folder (where each document is placed independently of a Xxx.docset folder) a Info.plist file is missing from the Contents folder, so try copying a copy of the file from the CSS package to the javascript.docsets/ Contents, after opening as, apparently this file is somewhat similar to the config file:

Then change the CSS at the arrows on the graph to JavaScript and change the red line to index.html (this should be the address of the document showing the first page in zeal, relative to the javascript.docset\contents\ The relative path of the resources\documents, And Javascriot index.html is directly under the path, so only write index.html on the line) after saving, open zeal, found that JavaScript appeared, and can be used normally! What a pleasure! Can happily read the document (:

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.