File: docs_intersphinx.patch

package info (click to toggle)
xtensor 0.27.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,528 kB
  • sloc: cpp: 65,746; makefile: 202; python: 171; javascript: 8
file content (15 lines) | stat: -rw-r--r-- 855 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: xtensor/docs/source/conf.py
===================================================================
--- xtensor.orig/docs/source/conf.py	2026-02-09 03:40:10.589047091 +0100
+++ xtensor/docs/source/conf.py	2026-02-09 03:43:27.751300201 +0100
@@ -46,8 +46,8 @@
 # Automatically link to NumPy doc
 extensions += ['sphinx.ext.intersphinx']
 intersphinx_mapping = {
-    "numpy": ("https://numpy.org/doc/stable/", None),
-    "scipy": ("https://docs.scipy.org/doc/scipy/reference", None),
+    "numpy": ("https://numpy.org/doc/stable/", ("/usr/share/doc/python-numpy/html/objects.inv", None)),
+    "scipy": ("https://docs.scipy.org/doc/scipy/reference", ("/usr/share/doc/python-scipy-doc/html/objects.inv", None)),
     "xtensor-blas": ("https://xtensor-blas.readthedocs.io/en/stable", None),
     "xtl": ("https://xtl.readthedocs.io/en/stable", None),
 }