File: Fix-sphinx-8-compatibility.patch

package info (click to toggle)
weston 14.0.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,940 kB
  • sloc: ansic: 140,007; xml: 2,480; python: 106; makefile: 34; sh: 33
file content (16 lines) | stat: -rw-r--r-- 711 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Fix compatibility with sphinx 8.x. Otherwise it FTBFS with:
 ERROR: Invalid value `None` in intersphinx_mapping['https://docs.python.org/'].
Forwarded: not-needed
Origin: upstream, https://gitlab.freedesktop.org/wayland/weston/-/commit/a40c6380

--- a/doc/sphinx/conf.py.in
+++ b/doc/sphinx/conf.py.in
@@ -196,7 +196,7 @@
 # -- Options for intersphinx extension ---------------------------------------
 
 # Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {'https://docs.python.org/3': None}
+intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}
 
 # -- Options for todo extension ----------------------------------------------