added global toc to the sidebar of the documentation

This commit is contained in:
Gonçalo Valério 2018-11-24 21:17:34 +00:00 committed by Michał Sałaban
parent 980770a2b7
commit 741d54c235

View file

@ -102,9 +102,13 @@ html_static_path = ['_static']
# This is required for the alabaster theme # This is required for the alabaster theme
# refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars # refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars
html_sidebars = { html_sidebars = {
'**': [ 'index': [
'relations.html', # needs 'show_related': True theme option to display 'relations.html', # needs 'show_related': True theme option to display
'searchbox.html'
],
'**': [
'searchbox.html', 'searchbox.html',
'globaltoc.html'
] ]
} }
@ -164,6 +168,3 @@ texinfo_documents = [
author, 'MoneroPythonmodule', 'One line description of project.', author, 'MoneroPythonmodule', 'One line description of project.',
'Miscellaneous'), 'Miscellaneous'),
] ]