Skip to content

Commit 38b9a7a

Browse files
committed
Add sphinx.ext.intersphinx.
1 parent cf8473d commit 38b9a7a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/src/conf.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
# ones.
3232
extensions = [
3333
'sphinx.ext.autodoc',
34+
'sphinx.ext.intersphinx',
3435
]
3536

3637
# Add any paths that contain templates here, relative to this directory.
@@ -65,6 +66,15 @@
6566

6667
autodoc_member_order = 'bysource'
6768

69+
70+
# -- Options for intersphinx extension ---------------------------------------
71+
72+
intersphinx_mapping = {
73+
'python': ('https://docs.python.org/3', None),
74+
'pytest': ('https://docs.pytest.org/en/stable/', None),
75+
}
76+
77+
6878
# -- Options for HTML output -------------------------------------------------
6979

7080
# The theme to use for HTML and HTML Help pages. See the documentation for

0 commit comments

Comments
 (0)