From 07de36dbc817b67609e60e1e645d2faf3198da6e Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Thu, 20 Aug 2020 16:44:14 +0200 Subject: [PATCH] lld docs config: Use a list key in html_sidebars Otherwise the docs-lld-html target fails to build using recent Sphinx with the following not very helpful error message: An error happened in rendering the page index. Reason: TemplateNotFound() It turns out the values in the html_sidebars dictionary always need to be lists now. See https://github.com/sphinx-doc/sphinx/issues/6186 --- lld/docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lld/docs/conf.py b/lld/docs/conf.py index 7d4fc0c5ad75f..ee93c01f7f324 100644 --- a/lld/docs/conf.py +++ b/lld/docs/conf.py @@ -134,7 +134,7 @@ #html_use_smartypants = True # Custom sidebar templates, maps document names to template names. -html_sidebars = {'index': 'indexsidebar.html'} +html_sidebars = {'index': ['indexsidebar.html']} # Additional templates that should be rendered to pages, maps page names to # template names.