|
71 | 71 | logger.error(msg) |
72 | 72 | sys.exit(1) |
73 | 73 |
|
74 | | - |
| 74 | +from sphinx_astropy.conf.v1 import * # noqa: E402 |
75 | 75 | from sphinx_astropy.conf.v1 import ( # noqa: E402 |
76 | 76 | exclude_patterns, |
77 | 77 | extensions, |
|
100 | 100 |
|
101 | 101 | # The intersphinx_mapping in sphinx_astropy.sphinx refers to astropy for |
102 | 102 | # the benefit of other packages who want to refer to objects in the |
103 | | -# astropy core. However, we don't want to cyclically reference astropy in its |
104 | | -# own build so we remove it here. |
105 | | -del intersphinx_mapping["astropy"] |
| 103 | +# astropy core. |
106 | 104 |
|
107 | 105 | # add any custom intersphinx for astropy |
108 | 106 | intersphinx_mapping.update( |
109 | 107 | { |
110 | | - "sbpy-dev": ("https://docs.astropy.org/en/latest/", None), |
| 108 | + "astropy": ("https://docs.astropy.org/en/stable/", None), |
111 | 109 | "astroquery": ("https://astroquery.readthedocs.io/en/stable/", None), |
| 110 | + "matplotlib": ("https://matplotlib.org/stable/", None), |
| 111 | + "numpy": ("https://numpy.org/doc/stable/", None), |
| 112 | + "python": ("https://docs.python.org/3/", None), |
| 113 | + "sbpy-dev": ("https://docs.astropy.org/en/latest/", None), |
| 114 | + "scipy": ("https://docs.scipy.org/doc/scipy/", None), |
112 | 115 | "synphot": ("https://synphot.readthedocs.io/en/stable/", None), |
113 | | - "astropy": ("https://docs.astropy.org/en/stable/", None), |
114 | 116 | } |
115 | 117 | ) |
| 118 | +intersphinx_resolve_self = "sbpy" |
116 | 119 |
|
117 | 120 | # List of patterns, relative to source directory, that match files and |
118 | 121 | # directories to ignore when looking for source files. |
|
0 commit comments