mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Exclude non-default VENVDIR in Doc builds (#3974)
This commit is contained in:
parent
de07210077
commit
6129250b74
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue