From: Jason Ish Date: Tue, 4 Oct 2016 14:56:16 +0000 (-0600) Subject: doc: exclude docs in partials/ from reference errors X-Git-Tag: suricata-3.2RC1~107 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2330%2Fhead;p=thirdparty%2Fsuricata.git 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. --- 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.