commit | 14b5a4da2732d3464c6b40527458005ccf19f95c | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Thu Oct 02 08:26:26 2014 +0200 |
committer | Georg Brandl <georg@python.org> | Thu Oct 02 08:26:26 2014 +0200 |
tree | 9b06181be087de60de7134f72b93c94f876b16b2 | |
parent | 2f33456e41330abdd0e818802665a4e0091626a2 [diff] [blame] |
Closes #22537: Make sphinx extensions compatible with Python 2 or 3, like in the 3.x branches
diff --git a/Doc/conf.py b/Doc/conf.py index 4051a56..8bf52f7 100644 --- a/Doc/conf.py +++ b/Doc/conf.py
@@ -59,6 +59,9 @@ # unit titles (such as .. function::). add_module_names = True +# Require Sphinx 1.2 for build. +needs_sphinx = '1.2' + # Options for HTML output # -----------------------