|
42 | 42 | # autodoc conf |
43 | 43 | autoclass_content = "both" |
44 | 44 |
|
| 45 | +# Example configuration for intersphinx: refer to the Python standard library. |
| 46 | +intersphinx_mapping = { |
| 47 | + "numpy": ("https://numpy.org/doc/stable/", None), |
| 48 | + "python": ("https://docs.python.org/3/", None), |
| 49 | + "matplotlib": ("https://matplotlib.org/", None), |
| 50 | +} |
| 51 | + |
| 52 | + |
45 | 53 | sphinx_gallery_conf = { |
46 | 54 | "examples_dirs": "../examples", # path to your example scripts |
47 | 55 | "gallery_dirs": "python_module", |
48 | 56 | "capture_repr": ("_repr_html_",), |
49 | 57 | "backreferences_dir": "gen_modules/backreferences", |
50 | 58 | "doc_module": ("py_eddy_tracker",), |
| 59 | + "reference_url": { |
| 60 | + "py_eddy_tracker": None, |
| 61 | + "matplotlib": "https://matplotlib.org/", |
| 62 | + "numpy": "https://docs.scipy.org/doc/numpy/", |
| 63 | + }, |
51 | 64 | "line_numbers": False, |
52 | 65 | "filename_pattern": "/pet", |
53 | 66 | "binder": { |
|
323 | 336 |
|
324 | 337 | # If true, do not generate a @detailmenu in the "Top" node's menu. |
325 | 338 | # texinfo_no_detailmenu = False |
326 | | - |
327 | | - |
328 | | -# Example configuration for intersphinx: refer to the Python standard library. |
329 | | -intersphinx_mapping = { |
330 | | - "numpy": ("https://numpy.org/doc/stable/", None), |
331 | | - "python": ("https://docs.python.org/3/", None), |
332 | | - "matplotlib": ("https://matplotlib.org/", None), |
333 | | -} |
|
0 commit comments