Skip to content

Commit e421cd2

Browse files
committed
Update the config of linkcheck and intersphinx
1 parent 55b8b32 commit e421cd2

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

source/conf.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,11 @@
385385

386386
linkcheck_ignore = [
387387
"http://localhost:\d+",
388+
# This is an example that showing to the reader
389+
"https://test.pypi.org/project/example-pkg-YOUR-USERNAME-HERE",
390+
# Ignoring it as it will redirect to login page if reader hasn't logged in.
391+
"https://pypi.org/manage/*",
392+
"https://test.pypi.org/manage/*",
388393
]
389394

390395
# Example configuration for intersphinx: refer to the Python standard library.
@@ -394,6 +399,9 @@
394399
'pip': ('https://pip.pypa.io/en/latest/', None),
395400
'setuptools': ('https://setuptools.readthedocs.io/en/latest/', None),
396401
'twine': ('https://twine.readthedocs.io/en/stable/', None),
402+
'tox': ('https://tox.readthedocs.io/en/latest/', None),
403+
'scipy': ('https://www.scipy.org', None),
404+
'openstack': ('https://docs.openstack.org/glance/latest/', None),
397405
}
398406

399407

0 commit comments

Comments
 (0)