From 479a4e6909c088c4791769e5d17af61878ed735d Mon Sep 17 00:00:00 2001 From: Segev Finer Date: Sat, 3 Jun 2017 17:46:29 +0300 Subject: [PATCH] Add html_sidebars for alabaster by default It's required for alabaster to render correctly, see: http://alabaster.readthedocs.io/en/latest/installation.html --- sphinx/templates/quickstart/conf.py_t | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/sphinx/templates/quickstart/conf.py_t b/sphinx/templates/quickstart/conf.py_t index 60a8f5cdc..ba8812cfe 100644 --- a/sphinx/templates/quickstart/conf.py_t +++ b/sphinx/templates/quickstart/conf.py_t @@ -107,6 +107,21 @@ html_theme = 'alabaster' # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['{{ dot }}static'] +# Custom sidebar templates, must be a dictionary that maps document names +# to template names. +# +# This is required for the alabaster theme and you should remove this if you +# switch your theme and don't want to customize this. +html_sidebars = { + '**': [ + 'about.html', + 'navigation.html', + 'relations.html', + 'searchbox.html', + 'donate.html', + ] +} + # -- Options for HTMLHelp output ------------------------------------------