summaryrefslogtreecommitdiff
path: root/sphinx/builders/html/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/builders/html/__init__.py')
-rw-r--r--sphinx/builders/html/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/builders/html/__init__.py b/sphinx/builders/html/__init__.py
index 6953b43ae..26d586348 100644
--- a/sphinx/builders/html/__init__.py
+++ b/sphinx/builders/html/__init__.py
@@ -1018,7 +1018,7 @@ class StandaloneHTMLBuilder(Builder):
return quote(docname) + self.link_suffix
def handle_page(self, pagename: str, addctx: Dict, templatename: str = 'page.html',
- outfilename: str = None, event_arg: Any = None) -> None:
+ outfilename: Optional[str] = None, event_arg: Any = None) -> None:
ctx = self.globalcontext.copy()
# current_page_name is backwards compatibility
ctx['pagename'] = ctx['current_page_name'] = pagename