Merge pull request #6870 from stsewd/update-docs-intersphinx-with-basic-auth

Update docs about intersphinx and basic auth support
This commit is contained in:
Takeshi KOMIYA
2019-12-03 01:42:37 +09:00
committed by GitHub

View File

@@ -148,3 +148,13 @@ project. The following example prints the Intersphinx mapping of the Python 3
documentation::
$ python -msphinx.ext.intersphinx https://docs.python.org/3/objects.inv
Using Intersphinx with inventory file under Basic Authorization
---------------------------------------------------------------
Intersphinx supports Basic Authorization like this::
intersphinx_mapping = {'python': ('https://user:password@docs.python.org/3',
None)}
The user and password will be stripped from the URL when generating the links.