Skip to content

Commit 9396608

Browse files
committed
added flaky links to linkcheck ignore
1 parent 10ec197 commit 9396608

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/source/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,10 @@
158158
"https://cocodataset.org/",
159159
]
160160
# A list of regular expressions that match URIs that should not be checked
161-
linkcheck_ignore = []
161+
linkcheck_ignore = [
162+
r"https://docutils\.sourceforge\.io/.*", # returns 403
163+
r"https://www\.contributor-covenant\.org/.*", # flaky
164+
]
162165
# Add request headers for specific domains (e.g. to avoid rate-limiting)
163166
linkcheck_request_headers = {
164167
"https://github.com": {

0 commit comments

Comments
 (0)