Skip to content

Commit 62525a1

Browse files
committed
Use generic Python 3 and 2 URLs in intersphinx
This change allows the docs link against the latest Python 3 references as well as against some outdated Python 2 refs where necessary. Before this commit, the docs were only linkable against Python 3.6.
1 parent 5409b68 commit 62525a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,8 @@
352352

353353
# Example configuration for intersphinx: refer to the Python standard library.
354354
intersphinx_mapping = {
355-
'python': ('https://docs.python.org/3.6', None),
355+
'python': ('https://docs.python.org/3', None),
356+
'python2': ('https://docs.python.org/2', None),
356357
'pip': ('https://pip.pypa.io/en/latest/', None),
357358
}
358359

0 commit comments

Comments
 (0)