#sphinx#生成html文檔

最近研究eventlet的資料,打開了官網文檔(http://eventlet.net/doc/)可是不見得有下載。無奈windows安裝sphinx無力。。。html

因而跑去github找這個項目,由於windows上沒安裝git,只好下載項目的源碼包,打開其doc目錄python

能夠看到裏面的Makefilegit

我乾脆把它發到虛擬機中的xubuntu,使用以下命令安裝sphinx:github

apt-get install python-sphinx

在doc目錄中,輸入:shell

make html

會生成一個_build目錄,裏面就是你要的文檔,直接把_build重命名,打包爲zip發回windows,打開包中html目錄中的index.html便可查看ubuntu


參考:windows

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

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

相關文章
相關標籤/搜索