File: intersphinx_use_local_inventory.patch

package info (click to toggle)
mpi4py 4.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,564 kB
  • sloc: python: 35,306; ansic: 16,482; sh: 837; makefile: 618; cpp: 193; f90: 178
file content (20 lines) | stat: -rw-r--r-- 875 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Use local InterSphinx inventory data
Author: Zixing Liu <zixing.liu@canonical.com>
Forwarded: not-needed
Last-Update: 2024-03-13

Index: mpi4py/docs/source/conf.py
===================================================================
--- mpi4py.orig/docs/source/conf.py	2025-07-18 14:28:49.502344202 +0200
+++ mpi4py/docs/source/conf.py	2025-07-18 14:30:30.017380966 +0200
@@ -89,8 +89,8 @@
 }
 
 intersphinx_mapping = {
-    "python": ("https://docs.python.org/3/", None),
-    "numpy": ("https://numpy.org/doc/stable/", None),
+    "python": ("https://docs.python.org/3/", ("/usr/share/doc/python3/html/objects.inv", None)),
+    "numpy": ("https://numpy.org/doc/stable/", ("/usr/share/doc/python-numpy/html/objects.inv", None)),
     "dlpack": ("https://dmlc.github.io/dlpack/latest/", None),
     "numba": ("https://numba.readthedocs.io/en/stable/", None),
 }