We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31ea447 commit ae31b64Copy full SHA for ae31b64
1 file changed
Doc/conf.py
@@ -38,8 +38,10 @@
38
needs_sphinx = "1.6.6"
39
40
# Ignore any .rst files in the venv/ directory.
41
-venvdir = os.getenv('VENVDIR', 'venv')
42
-exclude_patterns = [venvdir+'/*', 'README.rst']
+exclude_patterns = ['venv/*', 'README.rst']
+venvdir = os.getenv('VENVDIR')
43
+if venvdir is not None:
44
+ exclude_patterns.append(venvdir + '/*')
45
46
# Disable Docutils smartquotes for several translations
47
smartquotes_excludes = {
0 commit comments