From 329acba6ab8626ae2d31e0950b0c7646f12f3d9b Mon Sep 17 00:00:00 2001
From: Doug Hellmann <doug@doughellmann.com>
Date: Wed, 10 Sep 2014 15:22:20 -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: I1dd434ef8d03c2ee26eb4f301a80141d5fd747fe
---
 doc/source/conf.py   | 5 +++++
 doc/source/index.rst | 1 -
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/doc/source/conf.py b/doc/source/conf.py
index 8ddbd39..de27d6b 100755
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -31,6 +31,11 @@ extensions = [
 feed_base_url = 'http://specs.openstack.org/openstack/zaqar-specs'
 feed_author = 'OpenStack Zaqar Team'
 
+exclude_patterns = [
+    'template.rst',
+    '**/template.rst',
+]
+
 # Optionally allow the use of sphinxcontrib.spelling to verify the
 # spelling of the documents.
 try:
diff --git a/doc/source/index.rst b/doc/source/index.rst
index aba3b09..3f2a45c 100644
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -16,7 +16,6 @@ zaqar-specs Repository Information
 
    README <readme>
    contributing
-   Sample Template <template>
 
 
 Indices and tables