How jQuery documentation is created

I am looking at jQuery source code in subversion . I would like to know how jQuery documentation is created, since I do not see any documentation in the source code. Unlike Java / Ruby, documentation is not executed when defining a method. So where is the repository for jQuery documentation in svn?

I personally use this site to view jQuery methods.

Please note that my question is not how to get the documentation. I wonder how the documentation is created and where the repository is located.

I would like to include the documentation in an interesting personal project and, therefore, a question.

+4
source share
2 answers

You say, "Unlike Java / Ruby, there is no documentation when a method is defined." It looks like the src / tree is where the real source code is generated, then jQuery is created from it.

Now, regarding the documentation (your actual question!), It looks the way you want it, it is a jQuery Download API reference file: http://dev.jquery.com/view/trunk/tools/api-browser/jquery- api-browser.zip

It looks like this contains the link you mentioned. I also like api.jquery.com and before it is out of date, www.visualjquery.com

+1
source

This link gives some insight into the new api.jquery.com website. The backend appears to be written in WordPress, and an XML dump is provided for complete documentation. I think the documentation can only be edited and improved by people who have an api.jquery.com WordPress account.

0
source

Source: https://habr.com/ru/post/1286076/


All Articles