From 7ab97534c49ddcfbc8ab590de01f317ae9b87d9e Mon Sep 17 00:00:00 2001 From: allee Date: Mon, 16 Dec 2024 18:16:23 -0500 Subject: [PATCH] fix: ignore 403 status code from habana.ai since it redirects intel.com documentation --- docs/source-pytorch/conf.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/docs/source-pytorch/conf.py b/docs/source-pytorch/conf.py index d316e0a342fb3..1488a3b625d04 100644 --- a/docs/source-pytorch/conf.py +++ b/docs/source-pytorch/conf.py @@ -643,6 +643,7 @@ def package_list_from_file(file): r"starter/installation.html$", r"^../common/trainer.html#trainer-flags$", "https://deepgenerativemodels.github.io/assets/slides/cs236_lecture11.pdf", + "https://developer.habana.ai", # returns 403 error but redirects to intel.com documentation "https://www.intel.com/content/www/us/en/products/docs/processors/what-is-a-gpu.html", "https://www.microsoft.com/en-us/research/blog/zero-infinity-and-deepspeed-unlocking-unprecedented-model-scale-for-deep-learning-training/", # noqa: E501 "https://stackoverflow.com/questions/66640705/how-can-i-install-grpcio-on-an-apple-m1-silicon-laptop", @@ -650,9 +651,3 @@ def package_list_from_file(file): "https://openai.com/index/*", "https://tinyurl.com/.*", # has a human verification check on redirect ] - -linkcheck_allowed_redirects = { - # All HTTP redirections from the source URI to - # the canonical URI will be treated as "working". - r'https://developer.habana.ai': r'https://www.intel.com/content/www/us/en/developer/platform/gaudi/overview.html' -}