From 914b472d64af831238679b5ceca48cde0ffc9c56 Mon Sep 17 00:00:00 2001 From: Eduard Kerkhoven Date: Fri, 20 Nov 2026 19:23:55 +0100 Subject: [PATCH] Fix the broken links found by the link check Ignore the four links that answer the link checker with 403 and link to the PyPI project page instead of the history anchor, which the page does not provide. --- docs/conf.py | 7 ++++++- docs/installation/index.md | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 8da3c55..fffc283 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -53,7 +53,12 @@ ] # External links that reject crawlers go here, each with the reason. -linkcheck_ignore: list[str] = [] +linkcheck_ignore: list[str] = [ + # These sites answer the link checker with 403 but open in a browser. + r"https://doi\.org/10\.1128/spectrum\.01705-23", # ASM journals + r"https://doi\.org/10\.3390/biom12010065", # MDPI + r"https://mathworks\.com/.*", # MathWorks +] linkcheck_timeout = 20 linkcheck_retries = 2 diff --git a/docs/installation/index.md b/docs/installation/index.md index 4e48dc7..6e6a6e3 100644 --- a/docs/installation/index.md +++ b/docs/installation/index.md @@ -94,7 +94,7 @@ The GECKO 4 releases of geckopy and the releases of raven-toolbox that it depend pip install --pre geckopy ``` -The dependency of geckopy on raven-toolbox names a pre-release, so `--pre` also selects the pre-release of raven-toolbox, which does not need naming separately. A version of geckopy is pinned with `==` and the version number from the [PyPI release history](https://pypi.org/project/geckopy/#history): +The dependency of geckopy on raven-toolbox names a pre-release, so `--pre` also selects the pre-release of raven-toolbox, which does not need naming separately. A version of geckopy is pinned with `==` and the version number from the [PyPI release history](https://pypi.org/project/geckopy/): ```bash pip install --pre geckopy==