From b63d5794476f3c9e3104e914bd817d83eb734bbf Mon Sep 17 00:00:00 2001 From: AdrianSosic Date: Fri, 1 Dec 2023 10:09:13 +0100 Subject: [PATCH] Make link check controllable via environment variable --- docs/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 1b72a4a95..43efc77ea 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -208,7 +208,8 @@ } # Ignored links for linkcheck -linkcheck_ignore = ["https://pypi.org/project/baybe/"] +if "BAYBE_DOCS_LINKCHECK_IGNORE" in os.environ: + linkcheck_ignore = ["https://emdgroup.github.io/baybe/"] # Everything in the module has the prefix baybe