Skip to content

Commit 07de36d

Browse files
committed
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 sphinx-doc/sphinx#6186
1 parent b0b18ec commit 07de36d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lld/docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
#html_use_smartypants = True
135135

136136
# Custom sidebar templates, maps document names to template names.
137-
html_sidebars = {'index': 'indexsidebar.html'}
137+
html_sidebars = {'index': ['indexsidebar.html']}
138138

139139
# Additional templates that should be rendered to pages, maps page names to
140140
# template names.

0 commit comments

Comments
 (0)