From 3585a11e68d5b79b7a0428ce035a11b56215150e Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Wed, 10 Sep 2014 14:50:05 -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: I1d50944fc37f27b5fc67316270cb281e3635b762 --- doc/source/conf.py | 6 +++++- doc/source/index.rst | 6 ++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index c85a38e72..9eb768aab 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -69,7 +69,11 @@ copyright = u'2014, OpenStack Nova 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', + 'specs/juno-template.rst', + 'specs/kilo-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 ece123bd0..38bfcc443 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -15,14 +15,12 @@ Nova Project Priorities Nova Project Specifications =========================== -Contents: +Project Documentation: .. toctree:: - :glob: - :maxdepth: 1 + :maxdepth: 2 readme - specs/* Juno implemented specs: