| 1 |
From: Gordon Ball <[email protected]> |
| 2 |
Date: Sun, 28 Dec 2025 22:32:39 +0100 |
| 3 |
Subject: drop usage of sphinx_toml, intersphinx_registry |
| 4 |
|
| 5 |
--- |
| 6 |
docs/source/conf.py | 20 -------------------- |
| 7 |
1 file changed, 20 deletions(-) |
| 8 |
|
| 9 |
diff --git a/docs/source/conf.py b/docs/source/conf.py |
| 10 |
index 1096440..4621bc3 100755 |
| 11 |
--- a/docs/source/conf.py |
| 12 |
+++ b/docs/source/conf.py |
| 13 |
@@ -9,13 +9,10 @@ |
| 14 |
|
| 15 |
import tomllib |
| 16 |
|
| 17 |
-from sphinx_toml import load_into_locals |
| 18 |
-from intersphinx_registry import get_intersphinx_mapping |
| 19 |
import sphinx_rtd_theme |
| 20 |
import sphinx.util |
| 21 |
import logging |
| 22 |
|
| 23 |
-load_into_locals(locals()) |
| 24 |
# https://read-the-docs.readthedocs.io/en/latest/faq.html |
| 25 |
ON_RTD = os.environ.get("READTHEDOCS", None) == "True" |
| 26 |
|
| 27 |
@@ -76,22 +73,6 @@ |
| 28 |
# - modindex_common_prefix |
| 29 |
|
| 30 |
|
| 31 |
-intersphinx_mapping = get_intersphinx_mapping( |
| 32 |
- packages={ |
| 33 |
- "python", |
| 34 |
- "rpy2", |
| 35 |
- "jupyterclient", |
| 36 |
- "jupyter", |
| 37 |
- "jedi", |
| 38 |
- "traitlets", |
| 39 |
- "ipykernel", |
| 40 |
- "prompt_toolkit", |
| 41 |
- "ipywidgets", |
| 42 |
- "ipyparallel", |
| 43 |
- "pip", |
| 44 |
- } |
| 45 |
-) |
| 46 |
- |
| 47 |
# External links configuration (replaces custom github extension) |
| 48 |
extlinks = { |
| 49 |
"ghissue": ("https://github.com/ipython/ipython/issues/%s/", "#%s"), |
| 50 |
@@ -129,7 +110,6 @@ |
| 51 |
# -------------------------- |
| 52 |
texinfo_documents = [ |
| 53 |
( |
| 54 |
- master_doc, |
| 55 |
"ipython", |
| 56 |
"IPython Documentation", |
| 57 |
"The IPython Development Team", |