Skip to content

Commit 498562b

Browse files
committed
ref(docs): silence "not in TOC" warnings for files starting with "_"
Let's start reStructuredText include fragments with underscores as a convention to help us and Sphinx recognize they aren't standalone documents.
1 parent af8529c commit 498562b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484

8585
# List of patterns, relative to source directory, that match files and
8686
# directories to ignore when looking for source files.
87-
exclude_patterns = ['_build', 'venv']
87+
exclude_patterns = ['_build', 'venv', '**/_*.rst']
8888

8989
# The reST default role (used for this markup: `text`) to use for all documents.
9090
#default_role = None

0 commit comments

Comments
 (0)