File: use-local-intersphinx.patch

package info (click to toggle)
numba 0.61.2%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 17,316 kB
  • sloc: python: 211,580; ansic: 15,233; cpp: 6,544; javascript: 424; sh: 322; makefile: 173
file content (18 lines) | stat: -rw-r--r-- 698 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Diane Trout <diane@ghic.org>
Description: Link to local documentation when possible
Forwarded: no

--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -307,9 +307,9 @@
 # Configuration for intersphinx: refer to the Python standard library
 # and the Numpy documentation.
 intersphinx_mapping = {
-    'python': ('https://docs.python.org/3', None),
+    'python': ('https://docs.python.org/3', '/usr/share/doc/python3-doc/html/objects.inv'),
     'numpy': ('https://numpy.org/doc/stable/', None),
-    'llvmlite': ('https://llvmlite.readthedocs.io/en/latest/', None),
+    'llvmlite': ('https://llvmlite.readthedocs.io/en/latest/', '/usr/share/doc/llvmlite-doc/html/objects.inv'),
 }