Skip to content

Commit 0b59d28

Browse files
committed
add intersphinx
1 parent d0b4bca commit 0b59d28

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/conf.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# A list of strings that are module names of Sphinx extensions
1414
extensions = [
1515
"sphinx_copybutton",
16+
"sphinx.ext.intersphinx",
1617
"myst_parser",
1718
]
1819

@@ -29,6 +30,13 @@
2930
# Minimum Sphinx version as a string
3031
needs_sphinx = "4.0"
3132

33+
# Intersphinx configuration
34+
intersphinx_mapping = {
35+
'python': ('https://docs.python.org/3/', None),
36+
'devguide': ('https://devguide.python.org/', None),
37+
'pep': ('https://peps.python.org/', None),
38+
}
39+
intersphinx_disabled_reftypes = []
3240

3341
# Options for HTML output
3442
# =======================

0 commit comments

Comments
 (0)