diff options
author | Ned Deily <nad@python.org> | 2017-10-12 16:04:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-12 16:04:57 -0400 |
commit | 6129250b74fc480a614e6db30b5e4fc8d0ff6835 (patch) | |
tree | d13a45913a7ded20413a442e0c4f562e443f7952 /Doc/conf.py | |
parent | bpo-30058: Fixed buffer overflow in select.kqueue.control(). (#1095) (diff) | |
download | cpython-6129250b74fc480a614e6db30b5e4fc8d0ff6835.tar.gz cpython-6129250b74fc480a614e6db30b5e4fc8d0ff6835.tar.bz2 cpython-6129250b74fc480a614e6db30b5e4fc8d0ff6835.zip |
Exclude non-default VENVDIR in Doc builds (#3974)
Diffstat (limited to 'Doc/conf.py')
-rw-r--r-- | Doc/conf.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/conf.py b/Doc/conf.py index c4ae16a2054..aaee983984b 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -38,7 +38,8 @@ highlight_language = 'python3' needs_sphinx = '1.2' # Ignore any .rst files in the venv/ directory. -exclude_patterns = ['venv/*', 'README.rst'] +venvdir = os.getenv('VENVDIR', 'venv') +exclude_patterns = [venvdir+'/*', 'README.rst'] # Options for HTML output |