diff --git a/vizro-ai/hatch.toml b/vizro-ai/hatch.toml index daa68982c..dd2977ac7 100644 --- a/vizro-ai/hatch.toml +++ b/vizro-ai/hatch.toml @@ -58,7 +58,7 @@ build = "mkdocs build --strict" # Disable warnings on the linkcheck so that HTTP redirects are accepted. We could ignore only that warning and specify # more advanced settings using a linkcheckerrc config file. openai.com doesn't seem to work well with linkchecking, # throwing 403 errors, but these are not real errors. -link-check = "linkchecker site --check-extern --no-warnings --ignore=404.html --ignore-url=127.0.0.1 --ignore-url=https://platform.openai.com/docs/models --ignore-url=openai.com --ignore-url=https://openai.com/" +link-check = "linkchecker site --check-extern --no-warnings --ignore=404.html --ignore-url=127.0.0.1 --ignore-url=https://vizro.readthedocs.io/ --ignore-url=https://platform.openai.com/docs/models --ignore-url=openai.com --ignore-url=https://openai.com/" serve = "mkdocs serve --strict" [envs.lint] diff --git a/vizro-core/hatch.toml b/vizro-core/hatch.toml index 51760c11b..10e58cae5 100644 --- a/vizro-core/hatch.toml +++ b/vizro-core/hatch.toml @@ -76,7 +76,7 @@ detached = true build = "mkdocs build --strict" # Disable warnings on the linkcheck so that HTTP redirects are accepted. We could ignore only that warning and specify # more advanced settings using a linkcheckerrc config file. -link-check = "linkchecker site --check-extern --no-warnings --ignore=404.html --ignore-url=127.0.0.1" +link-check = "linkchecker site --check-extern --no-warnings --ignore=404.html --ignore-url=127.0.0.1 --ignore-url=https://vizro.readthedocs.io/" serve = "mkdocs serve --strict" [envs.lint]