From dbde356053f5b994f29577db3c7b1475cd9d3346 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Tue, 4 Oct 2016 08:56:16 -0600 Subject: [PATCH] doc: exclude docs in partials/ from reference errors 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. --- doc/userguide/conf.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/userguide/conf.py b/doc/userguide/conf.py index 219dfd1579..f93222049a 100644 --- a/doc/userguide/conf.py +++ b/doc/userguide/conf.py @@ -87,7 +87,12 @@ language = None # 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.