Skip to content

Commit

Permalink
chore: fix docutils warnings
Browse files Browse the repository at this point in the history
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
  • Loading branch information
hoefling committed Aug 29, 2023
1 parent 4a10c17 commit 9423340
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sphinx/ext/intersphinx.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
from types import ModuleType
from typing import Iterator, Tuple, Union

from docutils.nodes import Node, TextElement, reference, system_message
from docutils.nodes import Node, TextElement, system_message
from docutils.utils import Reporter

from sphinx.application import Sphinx
Expand Down Expand Up @@ -107,7 +107,7 @@ class ExternalLinksChecker(SphinxPostTransform):
default_priority = 500

def run(self, **kwargs: Any) -> None:
for refnode in self.document.traverse(reference):
for refnode in self.document.findall(nodes.reference):
self.check_uri(refnode)

def check_uri(self, refnode: reference) -> None:
Expand Down

0 comments on commit 9423340

Please sign in to comment.