| 1 |
From: Faidon Liambotis <[email protected]> |
| 2 |
Date: Mon, 27 Feb 2023 22:53:59 +0200 |
| 3 |
Subject: Point intersphinx_mapping at local Python docs |
| 4 |
|
| 5 |
This reserves references to the stdlib. See #1032593 for proposed ways to avoid |
| 6 |
carrying this (extremely common) patch. |
| 7 |
|
| 8 |
Forwarded: not-needed |
| 9 |
--- |
| 10 |
docs/conf.py | 2 +- |
| 11 |
1 file changed, 1 insertion(+), 1 deletion(-) |
| 12 |
|
| 13 |
diff --git a/docs/conf.py b/docs/conf.py |
| 14 |
index 5977cfa..4c0b03d 100644 |
| 15 |
--- a/docs/conf.py |
| 16 |
+++ b/docs/conf.py |
| 17 |
@@ -71,7 +71,7 @@ extlinks = { |
| 18 |
"gh": ("https://github.com/%s", "%s"), |
| 19 |
} |
| 20 |
intersphinx_mapping = { |
| 21 |
- "python": ("https://docs.python.org/3", None), |
| 22 |
+ "python": ("/usr/share/doc/python3-doc/html", "/usr/share/doc/python3-doc/html/objects.inv"), |
| 23 |
"packaging": ("https://packaging.pypa.io/en/latest", None), |
| 24 |
} |
| 25 |
nitpicky = True |