diff options
author | Georg Brandl <georg@python.org> | 2015-07-25 16:54:51 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2015-07-25 16:54:51 +0200 |
commit | 3e742bb43a041c21805cbcc0580e206ccad14cf4 (patch) | |
tree | 6436405548447359e20944f5c1993f3d838d8bc3 /sphinx/builders/websupport.py | |
parent | e4b42fe15fbba4882f2dd3b5b38a43db37d5947c (diff) | |
download | sphinx-git-3e742bb43a041c21805cbcc0580e206ccad14cf4.tar.gz |
Closes #1942: Fix a KeyError in websupport.
Diffstat (limited to 'sphinx/builders/websupport.py')
-rw-r--r-- | sphinx/builders/websupport.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sphinx/builders/websupport.py b/sphinx/builders/websupport.py index 4a33667c6..66af0ab80 100644 --- a/sphinx/builders/websupport.py +++ b/sphinx/builders/websupport.py @@ -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) |