1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
From: Faidon Liambotis <paravoid@debian.org>
Date: Thu, 2 Nov 2023 17:28:20 +0200
Subject: Point intersphinx_mapping at local Python docs
Resolves issues such as:
docstring of structlog.processors.CallsiteParameterAdder:6: WARNING: 'any' reference target not found: logging
Forwarded: not-needed
---
docs/conf.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/conf.py b/docs/conf.py
index 6f1b2c0..8419e78 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -160,6 +160,6 @@ linkcheck_ignore = [
linkcheck_timeout = 300
intersphinx_mapping = {
- "python": ("https://docs.python.org/3", None),
+ 'python': ('/usr/share/doc/python3-doc/html', '/usr/share/doc/python3-doc/html/objects.inv'),
"rich": ("https://rich.readthedocs.io/en/stable/", None),
}
|