summaryrefslogtreecommitdiff
path: root/Doc/conf.py
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2016-06-04 20:52:57 -0700
committerSenthil Kumaran <senthil@uthcode.com>2016-06-04 20:52:57 -0700
commit6644f49d2c17babf410802973a7c8809e0ef4aaf (patch)
tree5a1600cddeabc7df77050a51e1513979320ed81b /Doc/conf.py
parenta9cf4684d5bb6acdabcc610f93b6be04d8cbf299 (diff)
downloadcpython-6644f49d2c17babf410802973a7c8809e0ef4aaf.tar.gz
issue27202 - Exclude 2.x release notes from python3 make doctests.
Patch contributed by Jelle Zijlstra.
Diffstat (limited to 'Doc/conf.py')
-rw-r--r--Doc/conf.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/conf.py b/Doc/conf.py
index d6f20ba25c..114f9b6a24 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -36,8 +36,9 @@ highlight_language = 'python3'
# Require Sphinx 1.2 for build.
needs_sphinx = '1.2'
-# Ignore any .rst files in the venv/ directory.
-exclude_patterns = ['venv/*']
+# Ignore any .rst files in the venv/ directory, and don't attempt to run tests
+# in the 2.x release notes.
+exclude_patterns = ['venv/*', 'whatsnew/2.*.rst']
# Options for HTML output