Skip to content

Commit 56b4383

Browse files
committed
Fix doc builds for intersphinx mapping. Supersedes #2659.
1 parent be0f7f5 commit 56b4383

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/conf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
]
140140

141141
# Allow linking objects on other Sphinx sites seamlessly:
142-
intersphinx_mapping = {
143-
'python': ('https://docs.python.org/3', None),
144-
'python2': ('https://docs.python.org/2', None),
145-
}
142+
intersphinx_mapping.update(
143+
python=('https://docs.python.org/3', None),
144+
python2=('https://docs.python.org/2', None),
145+
)

0 commit comments

Comments
 (0)