From e1d28366b2dee8334f21ce4a3570e5ad138d3962 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Wed, 10 Sep 2014 13:47:57 -0400 Subject: [PATCH] Remove templates from toctrees We don't want the templates to show up in the RSS feed, so exclude them from being converted to HTML and listed in the toctree. Change-Id: If1212ece82d2faef6e773271ab599351992a413d --- doc/source/conf.py | 5 ++++- doc/source/index.rst | 8 -------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 2cc2a34d..3af358f1 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -68,7 +68,10 @@ copyright = u'2014, OpenStack Cinder Team' # 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', + 'template.rst', +] # The reST default role (used for this markup: `text`) to use for all documents. #default_role = None diff --git a/doc/source/index.rst b/doc/source/index.rst index f91659b2..93f8db96 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -4,14 +4,6 @@ Volume Service Specifications (cinder) ====================================== -Contents: - -.. toctree:: - :glob: - :maxdepth: 1 - - specs/* - Juno approved specs: .. toctree::