]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
doc: exclude docs in partials/ from reference errors 2330/head
authorJason Ish <ish@unx.ca>
Tue, 4 Oct 2016 14:56:16 +0000 (08:56 -0600)
committerJason Ish <ish@unx.ca>
Tue, 4 Oct 2016 14:56:16 +0000 (08:56 -0600)
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

index 219dfd15798c67e793abd29a5b57c7d143da77d5..f93222049a3f335df336b25f9a3affdbdb3b1979 100644 (file)
@@ -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.