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:15 +02:00
parent 0166d3c558
commit fd6cd037ec
4 changed files with 7 additions and 4 deletions
+4 -1
View File
@@ -295,7 +295,10 @@ 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"
linkcheck_ignore = []
linkcheck_ignore = [
r"https://www.patreon.com/postgrest",
r"https://blog.frankel.ch/poor-man-api",
]
# sphinx-tabs configuration
sphinx_tabs_disable_tab_closing = True