Skip to content

Commit

Permalink
Added some link patterns which should be ignored by linkcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
s-weigand committed Jan 22, 2020
1 parent 850bb46 commit 366dae9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,15 @@ def get_version():
<p>Try using the search box or go to the homepage.</p>
''',
}
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):
Expand Down

0 comments on commit 366dae9

Please sign in to comment.