File: build_local_docs.patch

package info (click to toggle)
petsc4py 3.24.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,592 kB
  • sloc: python: 13,451; ansic: 1,768; makefile: 345; f90: 313; sh: 14
file content (23 lines) | stat: -rw-r--r-- 1,307 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Index: petsc4py/docs/source/conf.py
===================================================================
--- petsc4py.orig/docs/source/conf.py	2025-11-06 12:06:38.418517290 +0100
+++ petsc4py/docs/source/conf.py	2025-11-06 12:06:38.409592308 +0100
@@ -133,13 +133,13 @@
     sphinx_rtd_theme = None
 
 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)),
     'numpydoc': ('https://numpydoc.readthedocs.io/en/latest/', None),
-    'mpi4py': ('https://mpi4py.readthedocs.io/en/stable/', None),
-    'pyopencl': ('https://documen.tician.de/pyopencl/', None),
+    'mpi4py': ('https://mpi4py.readthedocs.io/en/stable/', ('/usr/share/doc/python-mpi4py-doc/html/objects.inv', None)),
+    'pyopencl': ('https://documen.tician.de/pyopencl/', ('/usr/share/doc/python-pyopencl-doc/html/objects.inv', None)),
     'dlpack': ('https://dmlc.github.io/dlpack/latest/', None),
-    'petsc': ('https://petsc.org/release/', None),
+    'petsc': ('https://petsc.org/release/', ('/usr/share/doc/petsc3.24-doc/docs/objects.inv', None)),
 }