These docs are already included with the include statement,
but older versions of Sphinx still complain that they
are not in a table of contents.
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
-exclude_patterns = ['_build']
+exclude_patterns = [
+ '_build',
+
+ # Documents that are included, rather than in a TOC.
+ 'partials',
+]
# The reST default role (used for this markup: `text`) to use for all
# documents.