From b52b790e7f3da4d249da24eafe57b460d2fa84e5 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 f8b0f5f60..a8efc1803 100644 --- a/sphinx/templates/quickstart/conf.py_t +++ b/sphinx/templates/quickstart/conf.py_t @@ -119,6 +119,21 @@ html_sidebars = { # 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 ------------------------------------------