mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Closes #1942: Fix a KeyError in websupport.
This commit is contained in:
parent
e4b42fe15f
commit
3e742bb43a
1
CHANGES
1
CHANGES
@ -35,6 +35,7 @@ Bugs fixed
|
||||
* #1915: Do not generate smart quotes in doc field type annotations.
|
||||
* #1796: On py3, automated .mo building caused UnicodeDecodeError.
|
||||
* #1923: Use babel features only if the babel latex element is nonempty.
|
||||
* #1942: Fix a KeyError in websupport.
|
||||
|
||||
|
||||
Release 1.3.1 (released Mar 17, 2015)
|
||||
|
@ -114,6 +114,8 @@ class WebSupportBuilder(PickleHTMLBuilder):
|
||||
doc_ctx = {
|
||||
'body': ctx.get('body', ''),
|
||||
'title': ctx.get('title', ''),
|
||||
'css': ctx.get('css', ''),
|
||||
'script': ctx.get('script', ''),
|
||||
}
|
||||
# partially render the html template to get at interesting macros
|
||||
template = self.templates.environment.get_template(templatename)
|
||||
|
Loading…
Reference in New Issue
Block a user