From ae2570c2690d7332f843f0e00ec0e8e2ba816bd7 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 18 Jul 2008 22:55:36 +0000 Subject: [PATCH] Merged revisions 64808,65013,65076,65100-65101,65119,65121-65123 via svnmerge from svn+ssh://pythondev@svn.python.org/doctools/branches/0.4.x ........ r64808 | georg.brandl | 2008-07-08 21:39:33 +0200 (Tue, 08 Jul 2008) | 2 lines Allow relocation of source and doctree dir. ........ r65013 | georg.brandl | 2008-07-16 15:25:30 +0200 (Wed, 16 Jul 2008) | 2 lines Remove curious quote. ........ r65076 | georg.brandl | 2008-07-17 22:43:01 +0200 (Thu, 17 Jul 2008) | 2 lines Add a test for sphinx.quickstart. ........ r65100 | georg.brandl | 2008-07-18 14:41:54 +0200 (Fri, 18 Jul 2008) | 2 lines Fix phony targets. ........ r65101 | georg.brandl | 2008-07-18 14:55:03 +0200 (Fri, 18 Jul 2008) | 2 lines Fix problems in "make check". ........ r65119 | georg.brandl | 2008-07-18 23:06:42 +0200 (Fri, 18 Jul 2008) | 2 lines Emit a more precise error message in autodoc. ........ r65121 | georg.brandl | 2008-07-18 23:41:35 +0200 (Fri, 18 Jul 2008) | 2 lines Warn if a toctree-included document doesn't contain a title. ........ r65122 | georg.brandl | 2008-07-18 23:51:28 +0200 (Fri, 18 Jul 2008) | 2 lines Don't use \samp{} for code with whitespaces, only for :samp:`code`. ........ r65123 | georg.brandl | 2008-07-19 00:49:46 +0200 (Sat, 19 Jul 2008) | 2 lines Put inheritance info always on its own line. ........ --- Makefile | 2 +- TODO | 4 + sphinx/__init__.py | 2 +- sphinx/builder.py | 2 +- sphinx/environment.py | 14 ++- sphinx/ext/autodoc.py | 8 +- sphinx/latexwriter.py | 2 +- sphinx/quickstart.py | 20 ++-- sphinx/roles.py | 10 +- sphinx/templates/genindex-split.html | 4 +- sphinx/templates/genindex.html | 2 +- sphinx/util/__init__.py | 2 +- sphinx/util/console.py | 5 + tests/path.py | 2 +- tests/test_quickstart.py | 144 +++++++++++++++++++++++++++ tests/util.py | 2 +- utils/check_sources.py | 12 ++- 17 files changed, 203 insertions(+), 34 deletions(-) create mode 100644 tests/test_quickstart.py diff --git a/Makefile b/Makefile index 6ed9cad16..8c39230eb 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ PYTHON ?= python export PYTHONPATH = $(shell echo "$$PYTHONPATH"):./sphinx -.PHONY: all check clean clean-pyc pylint reindent testserver +.PHONY: all check clean clean-pyc clean-patchfiles pylint reindent test all: clean-pyc check diff --git a/TODO b/TODO index 619c21230..293dcc9b2 100644 --- a/TODO +++ b/TODO @@ -1,6 +1,10 @@ Sphinx TODO =========== +- specify node visit functions when adding nodes to app +- allow extensions to add static files +- decide which static files to include +- verbose option - remove redundant