summaryrefslogtreecommitdiff
path: root/sphinx/builders/htmlhelp.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-11-29 23:44:57 +0900
committerGitHub <noreply@github.com>2018-11-29 23:44:57 +0900
commitd8b8ef559ef30e69fd9a73ea0f8da16351a21eb6 (patch)
treea140fee8b1f13249274ef1c5af4affd1790f0a37 /sphinx/builders/htmlhelp.py
parent674dfe01576dcb26d061d1d734ba787f04f3d3cf (diff)
parent8201687c5b52a750712d8b6695c36e8e8bf89091 (diff)
downloadsphinx-git-d8b8ef559ef30e69fd9a73ea0f8da16351a21eb6.tar.gz
Merge pull request #5680 from tk0miya/fix_typehints_for_builders
Fix annotations for builders
Diffstat (limited to 'sphinx/builders/htmlhelp.py')
-rw-r--r--sphinx/builders/htmlhelp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/builders/htmlhelp.py b/sphinx/builders/htmlhelp.py
index c6c3e0eb3..ec86740e1 100644
--- a/sphinx/builders/htmlhelp.py
+++ b/sphinx/builders/htmlhelp.py
@@ -221,7 +221,7 @@ class HTMLHelpBuilder(StandaloneHTMLBuilder):
self.build_hhx(self.outdir, self.config.htmlhelp_basename)
def write_doc(self, docname, doctree):
- # type: (unicode, nodes.Node) -> None
+ # type: (unicode, nodes.document) -> None
for node in doctree.traverse(nodes.reference):
# add ``target=_blank`` attributes to external links
if node.get('internal') is None and 'refuri' in node: