Skip to content

Commit 280bd53

Browse files
authored
Docs: don't render files in includes/, they're for embedding only (#103313)
1 parent 75b6ab8 commit 280bd53

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Doc/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,10 @@
6868
# Minimum version of sphinx required
6969
needs_sphinx = '3.2'
7070

71+
# Ignore any .rst files in the includes/ directory;
72+
# they're embedded in pages but not rendered individually.
7173
# Ignore any .rst files in the venv/ directory.
72-
exclude_patterns = ['venv/*', 'README.rst']
74+
exclude_patterns = ['includes/*.rst', 'venv/*', 'README.rst']
7375
venvdir = os.getenv('VENVDIR')
7476
if venvdir is not None:
7577
exclude_patterns.append(venvdir + '/*')

0 commit comments

Comments
 (0)