Skip to content

Commit c4992ad

Browse files
authored
Switch intersphinx_mapping to new format (#198)
Sphinx v8 no longer supports intersphinx_mapping being a direct map; it now must be a map with identifiers and tuples. This fixes a FTBFS downstream in Debian, bug #1090148.
1 parent 2731969 commit c4992ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,6 @@
185185

186186
# Example configuration for intersphinx: refer to the Python standard library.
187187
intersphinx_mapping = {
188-
"https://docs.python.org/": None,
189-
"https://cryptography.io/en/latest/": None,
188+
"python": ("https://docs.python.org/", None),
189+
"cryptography": ("https://cryptography.io/en/latest/", None),
190190
}

0 commit comments

Comments
 (0)