diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-11-29 23:44:57 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-29 23:44:57 +0900 |
commit | d8b8ef559ef30e69fd9a73ea0f8da16351a21eb6 (patch) | |
tree | a140fee8b1f13249274ef1c5af4affd1790f0a37 /sphinx/builders/htmlhelp.py | |
parent | 674dfe01576dcb26d061d1d734ba787f04f3d3cf (diff) | |
parent | 8201687c5b52a750712d8b6695c36e8e8bf89091 (diff) | |
download | sphinx-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.py | 2 |
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: |