Commit 73e05497 authored by Julien Palard's avatar Julien Palard Committed by Ned Deily

Doc: Keep the venv/* exclude pattern. (GH-15229)

In case it has been previously created.
parent da27d9b9
......@@ -48,8 +48,10 @@ highlight_language = 'python3'
needs_sphinx = '1.8'
# Ignore any .rst files in the venv/ directory.
venvdir = os.getenv('VENVDIR', 'venv')
exclude_patterns = [venvdir+'/*', 'README.rst']
exclude_patterns = ['venv/*', 'README.rst']
venvdir = os.getenv('VENVDIR')
if venvdir is not None:
exclude_patterns.append(venvdir + '/*')
# Disable Docutils smartquotes for several translations
smartquotes_excludes = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment