diff options
Diffstat (limited to 'sphinx/builders/websupport.py')
-rw-r--r-- | sphinx/builders/websupport.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sphinx/builders/websupport.py b/sphinx/builders/websupport.py index 4a33667c6..843b0899e 100644 --- a/sphinx/builders/websupport.py +++ b/sphinx/builders/websupport.py @@ -5,7 +5,7 @@ Builder for the web support package. - :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS. + :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -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) |