Do not build rst files starting with '_'

This commit is contained in:
Nicola Soranzo
2019-01-14 22:45:34 +00:00
parent ce5895f585
commit 4bb6f18b30
+2 -3
View File
@@ -103,10 +103,9 @@ release = VERSION
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ['**/_*.rst']
if SKIP_SOURCE:
exclude_patterns = ['lib', 'releases']
else:
exclude_patterns = []
exclude_patterns.extend(['lib', 'releases'])
# The reST default role (used for this markup: `text`) to use for all documents.
#default_role = None