summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSegev Finer <segev208@gmail.com>2017-06-03 17:46:29 +0300
committerjfbu <jfbu@free.fr>2017-06-03 17:45:30 +0200
commitb52b790e7f3da4d249da24eafe57b460d2fa84e5 (patch)
tree21a395b75668eecbc53f628d50fc430ded4b7fff
parent0aa5657f69316e2d3dd30476c2309e942c21de84 (diff)
downloadsphinx-git-b52b790e7f3da4d249da24eafe57b460d2fa84e5.tar.gz
Add html_sidebars for alabaster by default
It's required for alabaster to render correctly, see: http://alabaster.readthedocs.io/en/latest/installation.html
-rw-r--r--sphinx/templates/quickstart/conf.py_t15
1 files changed, 15 insertions, 0 deletions
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 ------------------------------------------