`
gavin
  • 浏览: 82722 次
  • 性别: Icon_minigender_1
文章分类
社区版块
存档分类
最新评论

dojo 1.8 文档生成

 
阅读更多
dojo 1.8 文档还要两天才发,从github下载打包的rst文件,自己生成,记录下过程:
1.要安装python,我用的2.6
2.安装easy_install:http://pypi.python.org/pypi/setuptools下载exe安装
3.运行D:\chrome\tools\depot_tools\python_bin\Scripts\easy_install -U Sphinx
4.运行D:\chrome\tools\depot_tools\python_bin\Scripts\sphinx-quickstart E:
\dojo-docs这个可以生成 conf.py 配置文件,可以生成一个 Makefile 和 make.bat 文件。这样可以直接运行make html而不用我们直接来调用sphinx-build -b html sourcedir builddir
5.运行set PHINXBUILD=D:\chrome\tools\depot_tools\python_bin\Scripts\sphinx-build
6.运行make html

如果环境都好,实际只要在rst文件目录运行sphinx-quickstart再make html就行了.
只是不想wget从网站上下载了,没有其它作用.
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics