diff options
Diffstat (limited to 'sphinx/builders/html.py')
-rw-r--r-- | sphinx/builders/html.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/builders/html.py b/sphinx/builders/html.py index d5d522dd0..b5d68c843 100644 --- a/sphinx/builders/html.py +++ b/sphinx/builders/html.py @@ -817,6 +817,7 @@ class StandaloneHTMLBuilder(Builder): outfilename=None, event_arg=None): # type: (unicode, Dict, unicode, unicode, Any) -> None ctx = self.globalcontext.copy() + ctx['warn'] = self.warn # current_page_name is backwards compatibility ctx['pagename'] = ctx['current_page_name'] = pagename default_baseuri = self.get_target_uri(pagename) |