File: remove-hoverxref-extension.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 (37 lines) | stat: -rw-r--r-- 1,104 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
36
37
Description: Remove the sphinx-hoverxref extension since it has been deprecated
 upstream, and it is currently causing build issues:
 .
 /usr/lib/python3/dist-packages/hoverxref/extension.py:67:
       RemovedInSphinx90Warning: The '_Opt' object tuple interface is deprecated, use
       attribute access instead for 'default', 'rebuild', and 'valid_types'.
 context[attr] = app.config.values[attr][0]
Author: Santiago Ruano Rincón <santiago@freexian.com>
Last-Update: 2025-08-20

Index: tango/doc/src/source/conf.py
===================================================================
--- tango.orig/doc/src/source/conf.py
+++ tango/doc/src/source/conf.py
@@ -49,7 +49,6 @@ extensions = [
     "sphinx_togglebutton",
     "sphinx_design",
     "sphinxcontrib.mermaid",
-    "hoverxref.extension",
     "sphinx_tags",
     "sphinx_reredirects",
 ]
@@ -62,14 +61,6 @@ myst_enable_extensions = [
     "fieldlist",
 ]
 
-hoverxref_roles = [
-    "term",
-]
-
-hoverxref_role_types = {
-    "term": "tooltip",
-}
-
 # Allow implicit target anchors for headings down to this level
 myst_heading_anchors = 5