Python-doc rst文件打开,,阅读目录Python
Python-doc rst文件打开,,阅读目录Python
阅读目录
Python rst文件打开1.安装python的sphinx模块:2.build输出html的目录回到顶部
Python rst文件打开
RST与Python类似Javadoc与Java.
如果下载了别人的Python源码,里面有rst文件夹,我们可以转为html后用浏览器打开
某个开源项目的index.rst
1.安装python的sphinx模块:
12 | pip install sphinx |
2.build输出html的目录
进入doc的父文件夹,比如
12345678910111213 | python |
使用命令
1 | python |
docs是含有rst的目录,build是输出html的目录
运行完后就可以在浏览器里查看了,一般从build/index.html进入
Python-doc rst文件打开
评论关闭