docs: Fix linkcheck

Some URLs are still forbidden for our linkcheck tool, so disabling them
again.

Others are permanently redirected, so adjusting them.
This commit is contained in:
Wolfgang Walther
2024-06-19 08:40:58 +02:00
parent 70e07ccbc6
commit 9657d46c42
4 changed files with 3 additions and 6 deletions
-3
View File
@@ -295,10 +295,7 @@ def setup(app):
# taken from https://github.com/sphinx-doc/sphinx/blob/82dad44e5bd3776ecb6fd8ded656bc8151d0e63d/sphinx/util/requests.py#L42
user_agent = "Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0"
# TODO: these pages are returning 403 right now. Verify if they can be fixed by addressing the issue:
# https://github.com/PostgREST/postgrest/issues/3544
linkcheck_ignore = [
r"https://stackoverflow.com/",
r"https://www.patreon.com/postgrest",
r"https://blog.frankel.ch/poor-man-api",
]