1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
Index: scipy/doc/source/conf.py
===================================================================
--- scipy.orig/doc/source/conf.py 2025-06-24 17:46:28.090250087 +0200
+++ scipy/doc/source/conf.py 2025-06-24 17:46:28.086250050 +0200
@@ -7,7 +7,7 @@
from docutils import nodes
from docutils.parsers.rst import Directive
-from intersphinx_registry import get_intersphinx_mapping
+#from intersphinx_registry import get_intersphinx_mapping
import matplotlib
import matplotlib.pyplot as plt
from numpydoc.docscrape_sphinx import SphinxDocString
@@ -50,7 +50,7 @@
'doi_role',
'matplotlib.sphinxext.plot_directive',
'myst_nb',
- 'jupyterlite_sphinx',
+# 'jupyterlite_sphinx',
]
@@ -138,7 +138,7 @@
# be strict about warnings in our examples, we should write clean code
# (exceptions permitted for pedagogical purposes below)
warnings.resetwarnings()
-warnings.filterwarnings('error')
+warnings.filterwarnings('default')
# allow these and show them
warnings.filterwarnings('default', module='sphinx') # internal warnings
# global weird ones that can be safely ignored
@@ -240,10 +240,10 @@
# and privacy-friendly analytics for the site. The dashboard can be accessed
# at https://analytics.scientific-python.org/docs.scipy.org
# The Scientific-Python community is hosting and managing the account.
- "analytics": {
- "plausible_analytics_domain": "docs.scipy.org",
- "plausible_analytics_url": "https://views.scientific-python.org/js/script.js",
- },
+# "analytics": {
+# "plausible_analytics_domain": "docs.scipy.org",
+# "plausible_analytics_url": "https://views.scientific-python.org/js/script.js",
+# },
}
if 'dev' in version:
@@ -292,9 +292,14 @@
# -----------------------------------------------------------------------------
# Intersphinx configuration
# -----------------------------------------------------------------------------
-intersphinx_mapping = get_intersphinx_mapping(
- packages={"python", "numpy", "neps", "matplotlib", "asv", "statsmodels", "mpmath"}
-)
+intersphinx_mapping = {"python": ("https://docs.python.org/3/", ("/usr/share/doc/python3/html/objects.inv", None)),
+ "numpy": ("https://numpy.org/doc/stable/", ("/usr/share/doc/python-numpy/html/objects.inv", None)),
+ "neps": ("https://numpy.org/neps/", None),
+ "matplotlib": ("https://matplotlib.org/stable/", ("/usr/share/doc/python-matplotlib-doc/html/objects.inv", None)),
+ "asv": ("https://asv.readthedocs.io/en/stable/", None),
+ "statsmodels": ("https://www.statsmodels.org/stable/", ("/usr/share/doc/python-statsmodels-doc/html/objects.inv", None)),
+ "mpmath": ("https://www.mpmath.org/doc/current/", ("/usr/share/doc/python-mpmath-doc/html/objects.inv", None))
+ }
# -----------------------------------------------------------------------------
# Numpy extensions
|