Skip to content

Commit e711c60

Browse files
committed
Update sphinx docs to remove partial use
1 parent 784246d commit e711c60

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,9 @@ def setup(app: Sphinx) -> None:
194194

195195

196196
# -- Options for the linkcode extension --------------------------------------
197-
linkcode_resolve = functools.partial(utils.linkcode_resolve, REPO_LINK)
197+
def linkcode_resolve(domain: str, info: dict) -> str | None:
198+
"""Determine the URL corresponding to Python object."""
199+
return utils.linkcode_resolve(REPO_LINK, domain, info)
198200

199201

200202
# -- Options for releases extension ------------------------------------------

0 commit comments

Comments
 (0)