File: intersphinx-mapping.patch

package info (click to toggle)
python-libevdev 0.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 356 kB
  • sloc: python: 2,310; makefile: 14
file content (21 lines) | stat: -rw-r--r-- 725 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
commit 4aeacf7fd36ae599fc35e63999f0ffcdbc93f935
Author: Stephen Kitt <steve@sk2.org>
Date:   Tue Dec 17 12:22:16 2024 +0100

    Fix intersphinx mapping
    
    The map is supposed to be a dict of tuples, see
    https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html
    
    Signed-off-by: Stephen Kitt <steve@sk2.org>

diff --git a/doc/source/conf.py b/doc/source/conf.py
index 456d62a..09241b2 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -264,4 +264,4 @@ texinfo_documents = [
 
 
 # Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {'http://docs.python.org/': None}
+intersphinx_mapping = {'python': ('http://docs.python.org/3', None)}