mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user