diff --git a/docs/conf.py b/docs/conf.py index cd28af13a32..383750c8c12 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -103,6 +103,15 @@ def get_version():
Try using the search box or go to the homepage.
''', } +linkcheck_ignore = [ + r'^https?\://127\.0\.0\.1.*', + r'^https?\://localhost.*', + r'^https?\://yourproject\.readthedocs\.io.*', + r'^https?\://docs\.example\.com.*', + r'^https?\://foo\.readthedocs\.io/projects.*', + r'^https?\://github\.com.+?#L\d+(-L\d+)?', + r'^https://$', +] def setup(app):