[Python-checkins] r61697 - in doctools/trunk/doc: .build .static .templates Makefile _build _static _templates _templates/layout.html conf.py
georg.brandl
python-checkins at python.org
Fri Mar 21 16:20:50 CET 2008
Author: georg.brandl
Date: Fri Mar 21 16:20:50 2008
New Revision: 61697
Added:
doctools/trunk/doc/_build/
- copied from r61549, doctools/trunk/doc/.build/
doctools/trunk/doc/_static/
- copied from r61549, doctools/trunk/doc/.static/
doctools/trunk/doc/_templates/
- copied from r61549, doctools/trunk/doc/.templates/
doctools/trunk/doc/_templates/layout.html
- copied unchanged from r61696, doctools/trunk/doc/.templates/layout.html
Removed:
doctools/trunk/doc/.build/
doctools/trunk/doc/.static/
doctools/trunk/doc/.templates/
Modified:
doctools/trunk/doc/Makefile
doctools/trunk/doc/conf.py
Log:
Use Windows-friendlier dirnames.
Modified: doctools/trunk/doc/Makefile
==============================================================================
--- doctools/trunk/doc/Makefile (original)
+++ doctools/trunk/doc/Makefile Fri Mar 21 16:20:50 2008
@@ -6,7 +6,7 @@
SPHINXBUILD = python ../sphinx-build.py
PAPER =
-ALLSPHINXOPTS = -d .build/doctrees -D latex_paper_size=$(PAPER) \
+ALLSPHINXOPTS = -d _build/doctrees -D latex_paper_size=$(PAPER) \
$(SPHINXOPTS) .
.PHONY: help clean html web htmlhelp latex changes linkcheck
@@ -21,50 +21,50 @@
@echo " linkcheck to check all external links for integrity"
clean:
- -rm -rf .build/*
+ -rm -rf _build/*
html:
- mkdir -p .build/html .build/doctrees
- $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) .build/html
+ mkdir -p _build/html _build/doctrees
+ $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) _build/html
@echo
- @echo "Build finished. The HTML pages are in .build/html."
+ @echo "Build finished. The HTML pages are in _build/html."
web:
- mkdir -p .build/web .build/doctrees
- $(SPHINXBUILD) -b web $(ALLSPHINXOPTS) .build/web
+ mkdir -p _build/web _build/doctrees
+ $(SPHINXBUILD) -b web $(ALLSPHINXOPTS) _build/web
@echo
@echo "Build finished; now you can run"
- @echo " python -m sphinx.web .build/web"
+ @echo " python -m sphinx.web _build/web"
@echo "to start the server."
htmlhelp:
- mkdir -p .build/htmlhelp .build/doctrees
- $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) .build/htmlhelp
+ mkdir -p _build/htmlhelp _build/doctrees
+ $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) _build/htmlhelp
@echo
@echo "Build finished; now you can run HTML Help Workshop with the" \
- ".hhp project file in .build/htmlhelp."
+ ".hhp project file in _build/htmlhelp."
latex:
- mkdir -p .build/latex .build/doctrees
- $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) .build/latex
+ mkdir -p _build/latex _build/doctrees
+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) _build/latex
@echo
- @echo "Build finished; the LaTeX files are in .build/latex."
+ @echo "Build finished; the LaTeX files are in _build/latex."
@echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
"run these through (pdf)latex."
changes:
- mkdir -p .build/changes .build/doctrees
- $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) .build/changes
+ mkdir -p _build/changes _build/doctrees
+ $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) _build/changes
@echo
- @echo "The overview file is in .build/changes."
+ @echo "The overview file is in _build/changes."
linkcheck:
- mkdir -p .build/linkcheck .build/doctrees
- $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) .build/linkcheck
+ mkdir -p _build/linkcheck _build/doctrees
+ $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) _build/linkcheck
@echo
@echo "Link check complete; look for any errors in the above output " \
- "or in .build/linkcheck/output.txt."
+ "or in _build/linkcheck/output.txt."
doctest:
- mkdir -p .build/doctest .build/doctrees
- $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) .build/doctest
+ mkdir -p _build/doctest _build/doctrees
+ $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) _build/doctest
Modified: doctools/trunk/doc/conf.py
==============================================================================
--- doctools/trunk/doc/conf.py (original)
+++ doctools/trunk/doc/conf.py Fri Mar 21 16:20:50 2008
@@ -24,7 +24,7 @@
extensions = ['ext', 'sphinx.ext.autodoc', 'sphinx.ext.doctest']
# Add any paths that contain templates here, relative to this directory.
-templates_path = ['.templates']
+templates_path = ['_templates']
# The suffix of source filenames.
source_suffix = '.rst'
@@ -77,7 +77,7 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path = ['.static']
+html_static_path = ['_static']
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
More information about the Python-checkins
mailing list