Description: use local intersphinx paths for documentation build Replace remote intersphinx URLs with local system paths to ensure the documentation builds correctly in offline environments (e.g. Debian build). Author: Josenilson Ferreira da Silva Forwarded: not-needed Last-Update: 2026-04-01 Index: libpysal/docs/conf.py =================================================================== --- libpysal.orig/docs/conf.py +++ libpysal/docs/conf.py @@ -271,14 +271,11 @@ def setup(app): # Example configuration for intersphinx: refer to the Python standard library. intersphinx_mapping = { - "geopandas": ("https://geopandas.org/en/latest/", None), - "libpysal": ("https://pysal.org/libpysal/", None), - "matplotlib": ("https://matplotlib.org/stable/", None), - "networkx": ("https://networkx.org/documentation/stable/", None), - "numpy": ("https://numpy.org/doc/stable/", None), - "pandas": ("https://pandas.pydata.org/pandas-docs/stable/", None), - "python": ("https://docs.python.org/3.12/", None), - "scipy": ("https://docs.scipy.org/doc/scipy/", None), + "python": ("/usr/share/doc/python3-doc/html", None), + "numpy": ("/usr/share/doc/python-numpy/html", None), + "scipy": ("/usr/share/doc/python-scipy-doc/html", None), + "pandas": ("/usr/share/doc/python-pandas-doc/html", None), + "matplotlib": ("/usr/share/doc/python-matplotlib-doc/html", None), }