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 44
|
Description: Link to packaged docs, not online docs
Date: Fri Mar 6 22:13:27 2020 -0500
Author: Sandro Tosi <morph@debian.org>
Forwarded: not-needed
Last-Update: 2025-12-02
--- sphinx-gallery.orig/doc/conf.py
+++ sphinx-gallery/doc/conf.py
@@ -17,8 +17,6 @@
import warnings
from datetime import date
-from intersphinx_registry import get_intersphinx_mapping
-
import sphinx_gallery
# If extensions (or modules to document with autodoc) are in another directory,
@@ -334,18 +332,15 @@
# Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = get_intersphinx_mapping(
- packages={
- "joblib",
- "matplotlib",
- "numpy",
- "pandas",
- "python",
- "pyvista",
- "sklearn",
- "sphinx",
- },
-)
+intersphinx_mapping = {
+ 'joblib': ('/usr/share/doc/python-joblib-doc/html/', None),
+ 'matplotlib': ('/usr/share/doc/python-matplotlib-doc/html', None),
+ 'numpy': ('/usr/share/doc/python-numpy/html', None),
+ 'pandas': ('/usr/share/doc/python-pandas-doc/html', None),
+ 'python': ('/usr/share/doc/python3-doc/html', None),
+ 'sklearn': ('/usr/share/doc/python-sklearn-doc/html', None),
+ 'sphinx': ('/usr/share/doc/sphinx-doc/html', None),
+}
examples_dirs = ["../examples", "../tutorials"]
gallery_dirs = ["auto_examples", "tutorials"]
|