File: Remove-intersphinx-mapping.patch

package info (click to toggle)
astropy 7.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 35,328 kB
  • sloc: python: 233,437; ansic: 55,264; javascript: 17,680; lex: 8,621; sh: 3,317; xml: 2,287; makefile: 191
file content (43 lines) | stat: -rw-r--r-- 1,723 bytes parent folder | download
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
From: Ole Streicher <olebole@debian.org>
Date: Thu, 20 Feb 2020 20:57:19 +0100
Subject: Remove intersphinx mapping

---
 docs/conf.py | 24 ------------------------
 1 file changed, 24 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index e7b6c8b..ce95b61 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -110,30 +110,6 @@ plot_pre_code = ""
 # If your documentation needs a minimal Sphinx version, state it here.
 needs_sphinx = "3.0"
 
-# The intersphinx_mapping in sphinx_astropy.sphinx refers to astropy for
-# the benefit of other packages who want to refer to objects in the
-# astropy core.  However, we don't want to cyclically reference astropy in its
-# own build so we remove it here.
-del intersphinx_mapping["astropy"]
-
-# add any custom intersphinx for astropy
-intersphinx_mapping.update(
-    {
-        "pyerfa": ("https://pyerfa.readthedocs.io/en/stable/", None),
-        "pytest": ("https://docs.pytest.org/en/stable/", None),
-        "ipython": ("https://ipython.readthedocs.io/en/stable/", None),
-        "pandas": ("https://pandas.pydata.org/pandas-docs/stable/", None),
-        "sphinx_automodapi": (
-            "https://sphinx-automodapi.readthedocs.io/en/stable/",
-            None,
-        ),
-        "asdf-astropy": ("https://asdf-astropy.readthedocs.io/en/latest/", None),
-        "fsspec": ("https://filesystem-spec.readthedocs.io/en/latest/", None),
-        "cycler": ("https://matplotlib.org/cycler/", None),
-        "dask": ("https://docs.dask.org/en/stable/", None),
-    }
-)
-
 # List of patterns, relative to source directory, that match files and
 # directories to ignore when looking for source files.
 # .inc.rst mean *include* files, don't have sphinx process them