summaryrefslogtreecommitdiff
path: root/Doc/conf.py
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2016-06-04 22:22:26 -0700
committerSenthil Kumaran <senthil@uthcode.com>2016-06-04 22:22:26 -0700
commit40250f0c75baa23871ff609d0fdb9fabbd00c0ca (patch)
treecfc6ece54e56d3bc6bed83044f9f9e272255af4c /Doc/conf.py
parent09201fc7f64bef2da3c78750af6d66635c0e6beb (diff)
downloadcpython-40250f0c75baa23871ff609d0fdb9fabbd00c0ca.tar.gz
issue27202 - Fix the mistake in changesets 70af472451cb (3.5) and 2bb806539ca6 (3.6)
exclude_patterns in Sphinx conf.py will exclude the .rsts from the build. It was incorrect exclude 2.x rsts in that. This fix contributed again Jelle Zijlstra, excludes doctests in whatsnew/2.7.rst from being exercised by using doctests skip option.
Diffstat (limited to 'Doc/conf.py')
-rw-r--r--Doc/conf.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/conf.py b/Doc/conf.py
index 114f9b6a24..d6f20ba25c 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -36,9 +36,8 @@ highlight_language = 'python3'
# Require Sphinx 1.2 for build.
needs_sphinx = '1.2'
-# 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']
+# Ignore any .rst files in the venv/ directory.
+exclude_patterns = ['venv/*']
# Options for HTML output