Debian Codegraph @

debian/patches/use-local-intersphinx.patch

raw
1 From: Diane Trout <[email protected]>
2 Date: Mon, 19 Oct 2020 10:06:35 -0700
3 Subject: Use local intersphinx references,
4 instead of the web. Also deleted some duplicated code.
5
6 Forwarded: No
7 ---
8 docs/source/conf.py | 13 +++++++------
9 1 file changed, 7 insertions(+), 6 deletions(-)
10
11 --- a/docs/source/conf.py
12 +++ b/docs/source/conf.py
13 @@ -330,29 +330,30 @@
14 # --Options for sphinx extensions -----------------------------------------------
15
16 intersphinx_mapping = {
17 - "python": ("https://docs.python.org/3/", None),
18 + "python": ("https://docs.python.org/3/",
19 + "/usr/share/doc/python3/html/objects.inv"),
20 "pandas": (
21 "https://pandas.pydata.org/pandas-docs/stable/",
22 - "https://pandas.pydata.org/pandas-docs/stable/objects.inv",
23 + "/usr/share/doc/python-pandas-doc/html/objects.inv",
24 ),
25 "numpy": (
26 "https://numpy.org/doc/stable/",
27 - "https://numpy.org/doc/stable/objects.inv",
28 + "/usr/share/doc/python-numpy-doc/html/objects.inv",
29 ),
30 "asyncssh": (
31 "https://asyncssh.readthedocs.io/en/latest/",
32 - "https://asyncssh.readthedocs.io/en/latest/objects.inv",
33 + "/usr/share/doc/python-asyncssh-doc/html/objects.inv",
34 ),
35 "distributed": ("https://distributed.dask.org/en/latest", None),
36 "pyarrow": ("https://arrow.apache.org/docs/", None),
37 "zarr": (
38 "https://zarr.readthedocs.io/en/latest/",
39 - "https://zarr.readthedocs.io/en/latest/objects.inv",
40 + None,
41 ),
42 "skimage": ("https://scikit-image.org/docs/dev/", None),
43 "fsspec": (
44 "https://filesystem-spec.readthedocs.io/en/latest/",
45 - "https://filesystem-spec.readthedocs.io/en/latest/objects.inv",
46 + "/usr/share/doc/python-fsspec-doc/html/objects.inv",
47 ),
48 "click": ("https://click.palletsprojects.com/", None),
49 "scipy": ("https://docs.scipy.org/doc/scipy", None),