Merge b52b790 and 075a8cf addition of alabaster sidebar template

This commit is contained in:
jfbu 2017-06-03 17:59:59 +02:00
parent b52b790e7f
commit e3c39deb1e

View File

@ -96,18 +96,6 @@ todo_include_todos = {{ ext_todo }}
# #
html_theme = 'alabaster' html_theme = 'alabaster'
# refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars
html_sidebars = {
'**': [
'about.html',
'navigation.html',
# 'relations.html', # hidden by alabaster css anyway
'searchbox.html',
# 'donate.html',
]
}
# Theme options are theme-specific and customize the look and feel of a theme # Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the # further. For a list of options available for each theme, see the
# documentation. # documentation.
@ -122,13 +110,13 @@ html_static_path = ['{{ dot }}static']
# Custom sidebar templates, must be a dictionary that maps document names # Custom sidebar templates, must be a dictionary that maps document names
# to template names. # to template names.
# #
# This is required for the alabaster theme and you should remove this if you # This is required for the alabaster theme
# switch your theme and don't want to customize this. # refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars
html_sidebars = { html_sidebars = {
'**': [ '**': [
'about.html', 'about.html',
'navigation.html', 'navigation.html',
'relations.html', 'relations.html', # needs 'show_related': True theme option to display
'searchbox.html', 'searchbox.html',
'donate.html', 'donate.html',
] ]