Skip to content

Commit d28176d

Browse files
committed
Fix Sphinx deprecation warning
1 parent 411f0a0 commit d28176d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ class IgnoreCoroSubstitution(SphinxTransform):
279279
default_priority = 210
280280

281281
def apply(self, **kwargs) -> None:
282-
for ref in self.document.traverse(nodes.substitution_reference):
282+
for ref in self.document.findall(nodes.substitution_reference):
283283
if ref["refname"] == "coro":
284284
ref.replace_self(nodes.Text(""))
285285

0 commit comments

Comments
 (0)