From: Christian Kastner <ckk@kvr.at>
Date: Tue, 21 Apr 2020 17:01:04 +0200
Subject: Adapt conf.py for sphinx >= 2.0

html_sidebars dict values must now be a list.

Resolves a TemplateNotFound exception raised when building the documentation
with sphinx 2.4, as encountered when building the Debian packages.

http://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_sidebars

Forwarded: https://github.com/DEAP/deap/pull/478
---
 doc/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/conf.py b/doc/conf.py
index aed0ba1..f1202f3 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -188,7 +188,7 @@ html_use_smartypants = True
 
 # Custom sidebar templates, maps document names to template names.
 html_sidebars = {
-    'index': 'indexsidebar.html',
+    'index': ['indexsidebar.html'],
 }
 
 # Additional templates that should be rendered to pages, maps page names to
