Deploy and use the dojo document tool rstwiki in Windows

Source: Internet
Author: User
Rstwiki is an integration tool provided by dojo for timely viewing rst implementations. It is mainly used to help document compilation volunteers debug rst files in real time, and help document reading. Convert the RST file into an HTML file for reading. For details, click.

Reading rst documents
1. Install python2.7 or a later version of 32-bit 64-bit. I use python2.7
The 64-bit version.
2. Install ez_setup.py. After downloading the file, place it in the python installation directory and double-click it to run it.
3. Set the environment variable, create the python_home variable to connect to the python installation directory, and add "; % python_home % \ scripts;" to the path environment ;"
4. Run CMD and enter "easy_install cheetah cherrypy docutils pygments gitdb = 0.5.2 gitpython"
5. Download rstwiki, rstwiki-part1, rstwiki-part2, rstwiki-part3, rstwiki-part4, rstwiki-part5, rstwiki-part6, rstwiki-part7,
Decompress the package. The package contains the latest dojo rst document on GitHub. If necessary, you can download the GitHub client for self-update ..
6. In the makefile tool nmake in windows, add the nmake directory to the environment variable.
7. After Entering the rstwiki directory, open wiki. conf and configure the value of tools. staticdir. dir of the [/_ static] item and the root value of the [wiki] item.
8. Go to disk C and create the following path/tmp/rstwiki_sessions.
9. Run wiki. py and enter http: // localhost: 4200 in the browser to access the RST document in the dojodocs root directory.
RST document to HTML file
1. Run cmd To Go To The rstwiki/export directory. (I don't know how to use the doscommand. I will go to Baidu ).
2. Enter nmake data HTML (because the compressed package itself has run once, the system will prompt whether to overwrite the file .)
3. Open build/html and you will find the converted HTML 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.