Home  >  Article  >  Web Front-end  >  #sphinx#生成html文档_html/css_WEB-ITnose

#sphinx#生成html文档_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:48:391394browse

最近研究eventlet的资料,打开了官网文档(http://eventlet.net/doc/)但是不见得有下载。无奈windows安装sphinx无力。。。

于是跑去github找这个项目,因为windows上没安装git,只好下载项目的源码包,打开其doc目录

可以看到里面的Makefile

我干脆把它发到虚拟机中的xubuntu,使用如下命令安装sphinx:

apt-get install python-sphinx

在doc目录中,输入:

make html

会生成一个_build目录,里面就是你要的文档,直接把_build重命名,打包为zip发回windows,打开包中html目录中的index.html即可查看


参考:

http://www.cnblogs.com/yanhuiw/p/3756085.html

http://www.cnblogs.com/Romantic/articles/3586229.html


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn