From 86f37b5225f992e466b1d2a7d0a05ceea6ea5450 Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Thu, 12 Oct 2017 16:21:17 -0400 Subject: Exclude non-default VENVDIR in Doc builds (#3974) (#3975) --- Doc/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/conf.py b/Doc/conf.py index d4ee50d..f7073d1 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -37,7 +37,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 -- cgit v0.12