mirror of
https://github.com/python/cpython
synced 2024-10-06 17:24:52 +00:00
Doc: Keep the venv/* exclude pattern. (GH-15229)
In case it has been previously created.
This commit is contained in:
parent
da27d9b9dc
commit
73e0549701
|
@ -48,8 +48,10 @@
|
||||||
needs_sphinx = '1.8'
|
needs_sphinx = '1.8'
|
||||||
|
|
||||||
# Ignore any .rst files in the venv/ directory.
|
# Ignore any .rst files in the venv/ directory.
|
||||||
venvdir = os.getenv('VENVDIR', 'venv')
|
exclude_patterns = ['venv/*', 'README.rst']
|
||||||
exclude_patterns = [venvdir+'/*', 'README.rst']
|
venvdir = os.getenv('VENVDIR')
|
||||||
|
if venvdir is not None:
|
||||||
|
exclude_patterns.append(venvdir + '/*')
|
||||||
|
|
||||||
# Disable Docutils smartquotes for several translations
|
# Disable Docutils smartquotes for several translations
|
||||||
smartquotes_excludes = {
|
smartquotes_excludes = {
|
||||||
|
|
Loading…
Reference in a new issue