File: use-a-local-copy-of-remote-intersphinx-inventories.patch

package info (click to toggle)
tango 10.1.0%2Bdfsg1-1~exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 88,780 kB
  • sloc: cpp: 213,413; sh: 1,641; python: 1,264; javascript: 472; perl: 467; xml: 407; makefile: 294; java: 260; sql: 72
file content (35 lines) | stat: -rw-r--r-- 2,053 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
26
27
28
29
30
31
32
33
34
35
Description: Use a local copy of intersphinx inventory objects
 This is required to avoid requiring access to Internet while building the
 package, and to avoid warnings avoid missing references that produce broken
 links.
Forwarded: not-needed
Author: Santiago Ruano Rincón <santiago@freexian.com>
Last-Update: 2025-09-03

Index: tango/doc/src/source/conf.py
===================================================================
--- tango.orig/doc/src/source/conf.py
+++ tango/doc/src/source/conf.py
@@ -414,14 +414,14 @@ epub_exclude_files = ["search.html"]
 
 # Example configuration for intersphinx: refer to the Python standard library.
 intersphinx_mapping = {
-    "itango": ("https://itango.readthedocs.io/en/latest/", None),
-    "pytango": ("https://pytango.readthedocs.io/en/latest/", None),
-    "python": ("https://docs.python.org/3", None),
-    "jive": ("https://jive.readthedocs.io/en/latest/", None),
-    "astor": ("https://tango-astor.readthedocs.io/en/latest/", None),
-    "atk": ("https://tangoatk.readthedocs.io/en/latest/", None),
-    "taranta": ("https://taranta.readthedocs.io/en/latest/", None),
-    "rfc": ("https://rfc.readthedocs.io/en/latest/", None),
+    "itango": ("https://itango.readthedocs.io/en/latest/", "../../../debian/intersphinx/itango-objects.inv"),
+    "pytango": ("https://pytango.readthedocs.io/en/latest/", "../../../debian/intersphinx/pytango-objects.inv"),
+    "python": ("/usr/share/doc/python3/html/", None),
+    "jive": ("https://jive.readthedocs.io/en/latest/", "../../../debian/intersphinx/jive-objects.inv"),
+    "astor": ("https://tango-astor.readthedocs.io/en/latest/", "../../../debian/intersphinx/tango-astor-objects.inv"),
+    "atk": ("https://tangoatk.readthedocs.io/en/latest/", "../../../debian/intersphinx/tangoatk-objects.inv"),
+    "taranta": ("https://taranta.readthedocs.io/en/latest/", "../../../debian/intersphinx/taranta-objects.inv"),
+    "rfc": ("https://rfc.readthedocs.io/en/latest/", "../../../debian/intersphinx/tango-rfc-objects.inv"),
 }
 
 # link checking options