---
title: "dojo 1.8 文档生成"
author: "gavin"
date: "2012-08-13T17:10:52Z"
tags: []
categories: ["Web前端"]
slug: "dojo-1-8"
draft: false
lastmod: "2012-08-13T17:10:52Z"
id: 1630699
url: "https://gavin.iteye.com/blog/1630699"
---

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从网站上下载了，没有其它作用．