From 3e742bb43a041c21805cbcc0580e206ccad14cf4 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 25 Jul 2015 16:54:51 +0200 Subject: Closes #1942: Fix a KeyError in websupport. --- sphinx/builders/websupport.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sphinx/builders/websupport.py') 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) -- cgit v1.2.1