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