From: Diane Trout Date: Mon, 19 Oct 2020 10:06:35 -0700 Subject: Use local intersphinx references, instead of the web. Also deleted some duplicated code. Forwarded: No --- docs/source/conf.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -330,29 +330,30 @@ # --Options for sphinx extensions ----------------------------------------------- intersphinx_mapping = { - "python": ("https://docs.python.org/3/", None), + "python": ("https://docs.python.org/3/", + "/usr/share/doc/python3/html/objects.inv"), "pandas": ( "https://pandas.pydata.org/pandas-docs/stable/", - "https://pandas.pydata.org/pandas-docs/stable/objects.inv", + "/usr/share/doc/python-pandas-doc/html/objects.inv", ), "numpy": ( "https://numpy.org/doc/stable/", - "https://numpy.org/doc/stable/objects.inv", + "/usr/share/doc/python-numpy-doc/html/objects.inv", ), "asyncssh": ( "https://asyncssh.readthedocs.io/en/latest/", - "https://asyncssh.readthedocs.io/en/latest/objects.inv", + "/usr/share/doc/python-asyncssh-doc/html/objects.inv", ), "distributed": ("https://distributed.dask.org/en/latest", None), "pyarrow": ("https://arrow.apache.org/docs/", None), "zarr": ( "https://zarr.readthedocs.io/en/latest/", - "https://zarr.readthedocs.io/en/latest/objects.inv", + None, ), "skimage": ("https://scikit-image.org/docs/dev/", None), "fsspec": ( "https://filesystem-spec.readthedocs.io/en/latest/", - "https://filesystem-spec.readthedocs.io/en/latest/objects.inv", + "/usr/share/doc/python-fsspec-doc/html/objects.inv", ), "click": ("https://click.palletsprojects.com/", None), "scipy": ("https://docs.scipy.org/doc/scipy", None),