File: sphinx-8.0.patch

package info (click to toggle)
python-cai 1.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 43,276 kB
  • sloc: python: 713; makefile: 24
file content (26 lines) | stat: -rw-r--r-- 938 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
From: Colin Watson <cjwatson@debian.org>
Date: Thu, 26 Dec 2024 14:45:42 +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/Benjamin-Lee/CodonAdaptationIndex/pull/16
Bug-Debian: https://bugs.debian.org/1090135
Last-Update: 2025-01-15
---
 docs/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/conf.py b/docs/conf.py
index dc7e244..59fe31f 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -169,6 +169,6 @@ texinfo_documents = [
 # -- Options for intersphinx extension ---------------------------------------
 
 # Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {"https://docs.python.org/": None}
+intersphinx_mapping = {"python": ("https://docs.python.org/", None)}
 autodoc_member_order = "bysource"
 add_module_names = False