Skip to content

Commit 5f78158

Browse files
committed
Exclude venv-pdf for Sphinx
1 parent 0baf0c7 commit 5f78158

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
# Ignore any .rst files in the includes/ directory;
115115
# they're embedded in pages but not rendered as individual pages.
116116
# Ignore any .rst files in the venv/ directory.
117-
exclude_patterns = ['includes/*.rst', 'venv/*', 'README.rst']
117+
exclude_patterns = ['includes/*.rst', 'venv(-pdf)?/*', 'README.rst']
118118
venvdir = os.getenv('VENVDIR')
119119
if venvdir is not None:
120120
exclude_patterns.append(venvdir + '/*')

0 commit comments

Comments
 (0)