Use sphinxcontrib.fulltoc sphinx extension.

Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/b66f49ae
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/b66f49ae
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/b66f49ae

Branch: refs/heads/trunk
Commit: b66f49ae6022976326d9183d3fe7174e3db3a3ee
Parents: 4d83eba
Author: Tomaz Muraus <[email protected]>
Authored: Wed Dec 18 18:24:06 2013 +0100
Committer: Tomaz Muraus <[email protected]>
Committed: Wed Dec 18 18:24:06 2013 +0100

----------------------------------------------------------------------
 docs/conf.py          | 2 +-
 requirements-docs.txt | 1 +
 tox.ini               | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/b66f49ae/docs/conf.py
----------------------------------------------------------------------
diff --git a/docs/conf.py b/docs/conf.py
index bc1ff23..247b3c4 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -26,7 +26,7 @@ sys.path.insert(0, os.path.abspath('../'))
 # Add any Sphinx extension module names here, as strings. They can be 
extensions
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
 extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx',
-              'sphinx.ext.viewcode']
+              'sphinx.ext.viewcode', 'sphinxcontrib.fulltoc']
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']

http://git-wip-us.apache.org/repos/asf/libcloud/blob/b66f49ae/requirements-docs.txt
----------------------------------------------------------------------
diff --git a/requirements-docs.txt b/requirements-docs.txt
new file mode 100644
index 0000000..83ecab7
--- /dev/null
+++ b/requirements-docs.txt
@@ -0,0 +1 @@
+sphinxcontrib-fulltoc==1.0

http://git-wip-us.apache.org/repos/asf/libcloud/blob/b66f49ae/tox.ini
----------------------------------------------------------------------
diff --git a/tox.ini b/tox.ini
index 6caeed9..b98c1a3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -40,6 +40,7 @@ deps = mock
 
 [testenv:docs]
 deps = sphinx
+       sphinxcontrib.fulltoc
 basepython = python2.7
 changedir = docs
 commands = python ../contrib/generate_provider_feature_matrix_table.py

Reply via email to