| 1 |
From: Julian Gilbey <[email protected]> |
| 2 |
Date: Thu, 26 Mar 2026 20:42:51 +0100 |
| 3 |
Subject: Use local ipython documentation for intersphinx |
| 4 |
|
| 5 |
Forwarded: not-needed |
| 6 |
Last-Update: 2025-01-13 |
| 7 |
--- |
| 8 |
docs/conf.py | 2 +- |
| 9 |
1 file changed, 1 insertion(+), 1 deletion(-) |
| 10 |
|
| 11 |
diff --git a/docs/conf.py b/docs/conf.py |
| 12 |
index a147ff1..1c5599e 100644 |
| 13 |
--- a/docs/conf.py |
| 14 |
+++ b/docs/conf.py |
| 15 |
@@ -326,7 +326,7 @@ texinfo_documents = [ |
| 16 |
|
| 17 |
|
| 18 |
# Example configuration for intersphinx: refer to the Python standard library. |
| 19 |
-intersphinx_mapping = {"ipython": ("https://ipython.readthedocs.io/en/stable/", None)} |
| 20 |
+intersphinx_mapping = {"ipython": ("file:///usr/share/doc/python-ipython-doc/html/", "/usr/share/doc/python-ipython-doc/html/objects.inv")} |
| 21 |
|
| 22 |
|
| 23 |
def setup(app: object) -> None: |