summaryrefslogtreecommitdiff
path: root/sphinx/builders/htmlhelp.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2016-07-02 14:30:38 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2016-07-02 14:30:38 +0900
commitbd2ad1bc687425768f16f3dd47cd960cee0d162e (patch)
treef56ea90eaa474d223beb5c26fdc434fd65be7ef2 /sphinx/builders/htmlhelp.py
parentb30d4f488284bfeaf3979d2c58a3582c2927ddb0 (diff)
downloadsphinx-git-bd2ad1bc687425768f16f3dd47cd960cee0d162e.tar.gz
Fix #2699: hyperlinks in help HTMLs are broken if `html_file_suffix` is set
Diffstat (limited to 'sphinx/builders/htmlhelp.py')
-rw-r--r--sphinx/builders/htmlhelp.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/builders/htmlhelp.py b/sphinx/builders/htmlhelp.py
index 405e4f01b..f1626321e 100644
--- a/sphinx/builders/htmlhelp.py
+++ b/sphinx/builders/htmlhelp.py
@@ -183,6 +183,7 @@ class HTMLHelpBuilder(StandaloneHTMLBuilder):
StandaloneHTMLBuilder.init(self)
# the output files for HTML help must be .html only
self.out_suffix = '.html'
+ self.link_suffix = '.html'
# determine the correct locale setting
locale = chm_locales.get(self.config.language)
if locale is not None: