Python-doc rst File Open

Source: Internet
Author: User

Python rst File Open

RST is similar to Python Javadoc and Java.

If you download someone else's Python source, there is an RST folder, we can turn to HTML after the browser open

Index.rst of an open source project

1. Install the Python Sphinx module:
Pip install Sphinxpip install-i http://pypi.douban.com/simple/sphinx_rtd_theme--trusted-host pypi.douban.com
Directory of 2.build output HTML

Go to the doc's parent folder, such as

Directory of Python-prompt-toolkit-master>dirpython-prompt-toolkit-master. Gitignore. travis.yml Authors.rst CHANGELOG docs Examples LICENSE manifest.in prompt_toolkit readme.rst setup.py

Using commands

Python-prompt-toolkit-master>sphinx-build-b HTML Docs Build

Docs is a directory containing RST, and build is the directory of the output HTML

After running it can be viewed in the browser, generally from build/index.html into

Python-doc rst File Open

Related Article

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.