File: use-local-objectsinv.patch

package info (click to toggle)
llvmlite 0.46.0-0.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,140 kB
  • sloc: python: 13,605; cpp: 3,192; makefile: 185; sh: 168
file content (25 lines) | stat: -rw-r--r-- 903 bytes parent folder | download
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
From: Diane Trout <diane@ghic.org>
Date: Mon, 15 Dec 2025 17:21:17 +1100
Subject: Point intersphinx to copies of the sphinx objects.inv

files built by debian for the referenced projects
---
 docs/source/conf.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/docs/source/conf.py b/docs/source/conf.py
index 9f4bcd3..cd7652b 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -300,8 +300,9 @@ texinfo_documents = [
 
 # Example configuration for intersphinx: refer to the Python standard library.
 intersphinx_mapping = {
-    'python': ('https://docs.python.org/3', None),
-    'llvm': ('https://releases.llvm.org/20.1.0/docs', None),
+    'python': ('https://docs.python.org/3', '/usr/share/doc/python3-doc/html/objects.inv'),
+    'llvm': ('https://releases.llvm.org/20.1.0/docs',
+        '/usr/share/doc/llvm-20-doc/html/objects.inv'),
     }
 
 nitpicky = True