Skip to content

Commit bd8e066

Browse files
committed
added intersphinx for docs
1 parent 1d59035 commit bd8e066

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
@@ -43,6 +43,7 @@
4343
"sphinx-prompt", # for prompt
4444
"notfound.extension", # for 404 page
4545
"myst_parser", # for markdown
46+
"sphinx.ext.intersphinx", # for intersphinx
4647
]
4748

4849
templates_path = ["_templates"]
@@ -137,6 +138,13 @@ def setup(app):
137138
# napoleon
138139
napoleon_numpy_docstring = True
139140

141+
# intersphinx
142+
intersphinx_mapping = {
143+
"python": ("https://docs.python.org/3", None),
144+
"numpy": ("https://numpy.org/doc/stable/", None),
145+
"plotly": ("https://plotly.com/python-api-reference/", None),
146+
}
147+
140148
# todo-section
141149
todo_include_todos = False
142150

0 commit comments

Comments
 (0)