Python rst File Open
RST Javadoc like Python and Java.
If the downloading other people's Python source code, there are rst folder, we can open a browser into html
An open source project of index.rst
1. Install the python sphinx module:
pip install recommonmark pip install sphinx pip install -i http://pypi.douban.com/simple/ sphinx_rtd_theme --trusted-host pypi.douban.com
2.01-splash output html directory
Into the source of the parent folder, such as
Use the command
-b HTML Source Build-sphinx 01-Splash # source file Source Catalog # 01-splash output file directory
After the operation can be viewed in the browser