Use sphinxcontrib-fulltoc

Change side bar toc to a full toc to show both global and local toc
simultaneously.

Change-Id: Ied595bab97bccb8cd942c2a0b35a429d7ee88bfb
Depends-On: I8dced20b036c267799b609a6fa719f6afde89a10
This commit is contained in:
Darragh Bailey 2016-11-07 18:23:41 +00:00
parent 4af052ae8f
commit 363a88bf22
2 changed files with 3 additions and 1 deletions

View File

@ -29,7 +29,8 @@ sys.path.insert(0, os.path.abspath('../../git_upstream')) # for indices
# 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.todo', 'sphinx.ext.coverage']
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo', 'sphinx.ext.coverage',
'sphinxcontrib.fulltoc']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

View File

@ -6,6 +6,7 @@ discover
coverage>=3.6 # Apache-2.0
fixtures>=0.3.14
python-subunit
sphinxcontrib-fulltoc # Apache-2.0
testrepository>=0.0.17
testscenarios>=0.4
testtools>=0.9.32