Skip to content

Commit 7dbf2d0

Browse files
authored
don't check buffer.com links
The website appeared down a few days ago, but now even when it's up, it won't pass the link check. I can request the site locally with curl just fine, so I think they probably had a DDoS or something and now they employed an advanced protection. That often means they block IPs from ranges used by CI services.
1 parent 877cf4a commit 7dbf2d0

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

conf.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,9 @@
185185

186186
linkcheck_ignore = [
187187
r'http://127.0.0.1:\d+', # localhost
188-
r'https://docs.google.com/.+', # links to non-public documents
189-
r'https://twitter.com/.+', # Twitter prevents this kind of requests
188+
r'https://docs.google.com/.+', # links to private documents
189+
r'https://twitter.com/.+', # they prevent this kind of requests
190+
r'https://(www\.)?buffer.com.*', # they seem to prevent the CI's IP range
190191
]
191192
sphinx_tabs_valid_builders = ['linkcheck']
192193

0 commit comments

Comments
 (0)