summaryrefslogtreecommitdiff
path: root/sphinx/ext/extlinks.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2022-01-03 01:01:06 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2022-01-03 01:01:06 +0900
commitb21b90d29251b173446e70a5f32bdb5baaa1bf63 (patch)
tree72e043de5be25eefa7566f1e2a7fcef2076102f1 /sphinx/ext/extlinks.py
parentd417b0ab8399810079cdafddc6ebaa46a6a85036 (diff)
parent08a87d945a8ca7770c589ea878e9b095ed35e6d4 (diff)
downloadsphinx-git-b21b90d29251b173446e70a5f32bdb5baaa1bf63.tar.gz
Merge branch '4.x'
Diffstat (limited to 'sphinx/ext/extlinks.py')
-rw-r--r--sphinx/ext/extlinks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/extlinks.py b/sphinx/ext/extlinks.py
index 21ebd2b46..a793ed3c4 100644
--- a/sphinx/ext/extlinks.py
+++ b/sphinx/ext/extlinks.py
@@ -53,7 +53,7 @@ class ExternalLinksChecker(SphinxPostTransform):
default_priority = 500
def run(self, **kwargs: Any) -> None:
- for refnode in self.document.traverse(nodes.reference):
+ for refnode in self.document.findall(nodes.reference):
self.check_uri(refnode)
def check_uri(self, refnode: nodes.reference) -> None: