diff options
| author | 2025-11-09 21:13:36 +0000 | |
|---|---|---|
| committer | 2025-11-09 21:14:45 +0000 | |
| commit | 14c15d813836c92a07edc8e334d118de16463824 (patch) | |
| tree | 5c388db09e41ccc320186ab567d33bfa569eaaf4 | |
| parent | Dependency bumps on all dependencies (diff) | |
Update sphinx docs to remove partial use
| -rw-r--r-- | docs/conf.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py index 39492483..e3c707a7 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -2,7 +2,6 @@ # https://www.sphinx-doc.org/en/master/usage/configuration.html import contextlib -import functools import logging import os.path import shutil @@ -194,7 +193,9 @@ intersphinx_mapping = { # -- Options for the linkcode extension -------------------------------------- -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.""" + return utils.linkcode_resolve(REPO_LINK, domain, info) # -- Options for releases extension ------------------------------------------ |