Skip to content

Commit

Permalink
lld docs config: Use a list key in html_sidebars
Browse files Browse the repository at this point in the history
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
  • Loading branch information
zmodem committed Aug 20, 2020
1 parent b0b18ec commit 07de36d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lld/docs/conf.py
Expand Up @@ -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.
Expand Down

0 comments on commit 07de36d

Please sign in to comment.