File: sphinx-8.0.patch

package info (click to toggle)
python-gplearn 0.4.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,308 kB
  • sloc: python: 2,755; makefile: 158
file content (24 lines) | stat: -rw-r--r-- 781 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Colin Watson <cjwatson@debian.org>
Date: Fri, 3 Jan 2025 14:14:54 +0000
Subject: Port to Sphinx 8.0

The old `intersphinx_mapping` format has been removed; it must now map
identifiers to (target, inventory) tuples.

Forwarded: https://github.com/trevorstephens/gplearn/pull/302
Bug-Debian: https://bugs.debian.org/1090144
Last-Update: 2025-01-03
---
 doc/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/conf.py b/doc/conf.py
index b17a263..2684841 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -295,4 +295,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/', None)}