From 53d06fda7b44c6966d74da50d151a5a469b240e1 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Tue, 1 Nov 2011 09:16:37 +0100 Subject: [PATCH] Closes #793: Fix docutils version references. --- doc/ext/appapi.rst | 7 ++----- doc/intro.rst | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/doc/ext/appapi.rst b/doc/ext/appapi.rst index 643de9950..1f5c063c7 100644 --- a/doc/ext/appapi.rst +++ b/doc/ext/appapi.rst @@ -115,11 +115,8 @@ the following public API: `_ for details. - The directive class normally must inherit from the class - ``docutils.parsers.rst.Directive``. When writing a directive for usage in - a Sphinx extension, you inherit from ``sphinx.util.compat.Directive`` - instead which does the right thing even on docutils 0.4 (which doesn't - support directive classes otherwise). + The directive class must inherit from the class + ``docutils.parsers.rst.Directive``. For example, the (already existing) :rst:dir:`literalinclude` directive would be added like this: diff --git a/doc/intro.rst b/doc/intro.rst index 46e4436bb..5d76dd29c 100644 --- a/doc/intro.rst +++ b/doc/intro.rst @@ -51,7 +51,7 @@ Prerequisites ------------- Sphinx needs at least **Python 2.4** or **Python 3.1** to run, as well as the -docutils_ and Jinja2_ libraries. Sphinx should work with docutils version 0.5 +docutils_ and Jinja2_ libraries. Sphinx should work with docutils version 0.7 or some (not broken) SVN trunk snapshot. If you like to have source code highlighting support, you must also install the Pygments_ library.