projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de07210
)
Exclude non-default VENVDIR in Doc builds (#3974)
author
Ned Deily
<nad@python.org>
Thu, 12 Oct 2017 20:04:57 +0000
(16:04 -0400)
committer
GitHub
<noreply@github.com>
Thu, 12 Oct 2017 20:04:57 +0000
(16:04 -0400)
Doc/conf.py
patch
|
blob
|
history
diff --git
a/Doc/conf.py
b/Doc/conf.py
index c4ae16a2054305ccfd2ab65df6b7757fb1f43b63..aaee983984bcb636547a3a9de92a537ff3b82f78 100644
(file)
--- 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