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:
parent
4af052ae8f
commit
363a88bf22
@ -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
|
# Add any Sphinx extension module names here, as strings. They can be extensions
|
||||||
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
# 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.
|
# Add any paths that contain templates here, relative to this directory.
|
||||||
templates_path = ['_templates']
|
templates_path = ['_templates']
|
||||||
|
@ -6,6 +6,7 @@ discover
|
|||||||
coverage>=3.6 # Apache-2.0
|
coverage>=3.6 # Apache-2.0
|
||||||
fixtures>=0.3.14
|
fixtures>=0.3.14
|
||||||
python-subunit
|
python-subunit
|
||||||
|
sphinxcontrib-fulltoc # Apache-2.0
|
||||||
testrepository>=0.0.17
|
testrepository>=0.0.17
|
||||||
testscenarios>=0.4
|
testscenarios>=0.4
|
||||||
testtools>=0.9.32
|
testtools>=0.9.32
|
||||||
|
Loading…
Reference in New Issue
Block a user