summaryrefslogtreecommitdiff
path: root/sphinx/quickstart.py
diff options
context:
space:
mode:
authorarmin.ronacher <devnull@localhost>2008-06-26 11:11:20 +0000
committerarmin.ronacher <devnull@localhost>2008-06-26 11:11:20 +0000
commitcfa70d34c113be118125500c21e898ce7dc5bdad (patch)
treebb6d7e7104daffe8cbb63ae708be580741d1bdc4 /sphinx/quickstart.py
parent743c3fcf5a09849bfb4bc2e18cfdf1e481d9233f (diff)
downloadsphinx-cfa70d34c113be118125500c21e898ce7dc5bdad.tar.gz
Implemented JSONHTMLBuilder and improved JSON handling (it now prefers json from the 2.6 stdlib or simplejson).
Diffstat (limited to 'sphinx/quickstart.py')
-rw-r--r--sphinx/quickstart.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/sphinx/quickstart.py b/sphinx/quickstart.py
index 5fb5123c..5dfe2018 100644
--- a/sphinx/quickstart.py
+++ b/sphinx/quickstart.py
@@ -238,7 +238,8 @@ ALLSPHINXOPTS = -d %(rbuilddir)s/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) %
help:
\t@echo "Please use \\`make <target>' where <target> is one of"
\t@echo " html to make standalone HTML files"
-\t@echo " pickle to make pickle files (usable by e.g. sphinx-web)"
+\t@echo " pickle to make pickle files"
+\t@echo " json to make JSON files"
\t@echo " htmlhelp to make HTML files and a HTML help project"
\t@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
\t@echo " changes to make an overview over all changed/added/deprecated items"
@@ -261,6 +262,12 @@ pickle:
web: pickle
+json:
+\tmkdir -p %(rbuilddir)s/json %(rbuilddir)s/doctrees
+\t$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) %(rbuilddir)s/json
+\t@echo
+\t@echo "Build finished; now you can process the JSON files."
+
htmlhelp:
\tmkdir -p %(rbuilddir)s/htmlhelp %(rbuilddir)s/doctrees
\t$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) %(rbuilddir)s/htmlhelp