Skip to content

Commit

Permalink
quick revert
Browse files Browse the repository at this point in the history
  • Loading branch information
Erotemic committed Aug 4, 2023
1 parent bd8c15c commit e93c744
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,8 @@ class PatchedPythonDomain(PythonDomain):
"""
def resolve_xref(self, env, fromdocname, builder, typ, target, node, contnode):
# TODO: can use this to resolve references nicely
# if target.startswith('ub.'):
# target = 'ubelt.' + target[3]
if target.startswith('xdoc.'):
target = 'xdoctest.' + target[3]
return_value = super(PatchedPythonDomain, self).resolve_xref(
env, fromdocname, builder, typ, target, node, contnode)
return return_value
Expand Down

0 comments on commit e93c744

Please sign in to comment.