Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6129250

Browse files
authored
Exclude non-default VENVDIR in Doc builds (#3974)
1 parent de07210 commit 6129250

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
needs_sphinx = '1.2'
3939

4040
# Ignore any .rst files in the venv/ directory.
41-
exclude_patterns = ['venv/*', 'README.rst']
41+
venvdir = os.getenv('VENVDIR', 'venv')
42+
exclude_patterns = [venvdir+'/*', 'README.rst']
4243

4344

4445
# Options for HTML output

0 commit comments

Comments
 (0)