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