[Python-checkins] cpython (merge 3.5 -> default): [merge from 3.5] - issue27202 - Exclude 2.x release notes from python3 make

senthil.kumaran python-checkins at python.org
Sat Jun 4 23:53:41 EDT 2016


https://hg.python.org/cpython/rev/2bb806539ca6
changeset:   101741:2bb806539ca6
parent:      101739:4a072fff6945
parent:      101740:70af472451cb
user:        Senthil Kumaran <senthil at uthcode.com>
date:        Sat Jun 04 20:53:38 2016 -0700
summary:
  [merge from 3.5] - issue27202 - Exclude 2.x release notes from python3 make doctests.

Patch contributed by Jelle Zijlstra.

files:
  Doc/conf.py |  5 +++--
  1 files changed, 3 insertions(+), 2 deletions(-)


diff --git a/Doc/conf.py b/Doc/conf.py
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -36,8 +36,9 @@
 # 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

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list