Exclude non-default VENVDIR in Doc builds (#3974)

This commit is contained in:
Ned Deily 2017-10-12 16:04:57 -04:00 committed by GitHub
parent de07210077
commit 6129250b74

View file

@ -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