Skip to content

Commit 658037f

Browse files
authored
Add intersphinx links for requests (#819)
* Add requests to intersphinx * Update docs requirements
1 parent 9d26a5f commit 658037f

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

docs/conf.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -276,15 +276,17 @@
276276
"https://upload.pypi.org/legacy",
277277
]
278278

279-
# Example configuration for intersphinx: refer to the Python standard library.
280-
intersphinx_mapping = {"https://docs.python.org/": None}
279+
intersphinx_mapping = {
280+
"python": ("https://docs.python.org/3", None),
281+
"requests": ("https://docs.python-requests.org/en/latest/", None),
282+
}
281283

282284
# Be strict about the invalid references:
283285
nitpicky = True
284286

285287
# TODO: Try to add these to intersphinx_mapping
286288
nitpick_ignore_regex = [
287-
(r"py:.*", r"(pkginfo|requests|IO).*"),
289+
(r"py:.*", r"(pkginfo|IO).*"),
288290
]
289291

290292
# -- Options for apidoc output ------------------------------------------------

docs/requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
doc8>=0.8.0
2-
furo >= 2021.7.5b38
2+
furo>=2021.10.09
33
readme-renderer>=17.4
4-
Sphinx>=1.7.0
4+
Sphinx>=4.2.0
55
sphinxcontrib-programoutput>=0.17

0 commit comments

Comments
 (0)