From: Senthil Kumaran Date: Sun, 5 Jun 2016 03:52:57 +0000 (-0700) Subject: issue27202 - Exclude 2.x release notes from python3 make doctests. X-Git-Tag: v3.5.2rc1~50 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ff6c5c5466d28868b881314400cd44a34f0d3cf6;p=thirdparty%2FPython%2Fcpython.git issue27202 - Exclude 2.x release notes from python3 make doctests. Patch contributed by Jelle Zijlstra. --- diff --git a/Doc/conf.py b/Doc/conf.py index d6f20ba25c48..114f9b6a2424 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