summaryrefslogtreecommitdiff
path: root/sphinx/builder.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/builder.py')
-rw-r--r--sphinx/builder.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/builder.py b/sphinx/builder.py
index 5f137ee60..25c5b90c5 100644
--- a/sphinx/builder.py
+++ b/sphinx/builder.py
@@ -737,6 +737,7 @@ class SerializingHTMLBuilder(StandaloneHTMLBuilder):
sidebarfile = self.config.html_sidebars.get(pagename)
if sidebarfile:
ctx['customsidebar'] = sidebarfile
+
if not outfilename:
outfilename = path.join(self.outdir, os_path(pagename) + self.out_suffix)