From 435a3e6fc75b135d445d7ace2f3c75afa97e62b3 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Tue, 9 Sep 2014 09:27:15 -0400 Subject: [PATCH] remove templates from toctree We don't want the templates to appear in the table of contents. Change-Id: Ic93ad16b7d919069f6dc1e6be4eb29fe6b4a7bef --- doc/source/conf.py | 7 ++++++- doc/source/index.rst | 2 -- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 57248d9..e8785de 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -34,6 +34,11 @@ try: except ImportError: pass +exclude_patterns = [ + '**/graduation-template.rst', + '**/template.rst', +] + # autodoc generation is a bit aggressive and a nuisance when doing heavy # text edit cycles. # execute "export SPHINX_DEBUG=1" in your terminal to disable @@ -80,4 +85,4 @@ latex_documents = [ ] # Example configuration for intersphinx: refer to the Python standard library. -#intersphinx_mapping = {'http://docs.python.org/': None} \ No newline at end of file +#intersphinx_mapping = {'http://docs.python.org/': None} diff --git a/doc/source/index.rst b/doc/source/index.rst index 9a22f16..ebb1434 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -25,8 +25,6 @@ oslo-specs Repository Information README contributing - Sample Feature Template - Sample Graduation Template Indices and tables