We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 784246d commit 14c15d8Copy full SHA for 14c15d8
docs/conf.py
@@ -2,7 +2,6 @@
2
# https://www.sphinx-doc.org/en/master/usage/configuration.html
3
4
import contextlib
5
-import functools
6
import logging
7
import os.path
8
import shutil
@@ -194,7 +193,9 @@ def setup(app: Sphinx) -> None:
194
193
195
196
# -- Options for the linkcode extension --------------------------------------
197
-linkcode_resolve = functools.partial(utils.linkcode_resolve, REPO_LINK)
+def linkcode_resolve(domain: str, info: dict) -> str | None:
+ """Determine the URL corresponding to Python object."""
198
+ return utils.linkcode_resolve(REPO_LINK, domain, info)
199
200
201
# -- Options for releases extension ------------------------------------------
0 commit comments