Skip to content

Commit 7ab9753

Browse files
committed
fix: ignore 403 status code from habana.ai since it redirects intel.com documentation
1 parent f926db5 commit 7ab9753

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

docs/source-pytorch/conf.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -643,16 +643,11 @@ def package_list_from_file(file):
643643
r"starter/installation.html$",
644644
r"^../common/trainer.html#trainer-flags$",
645645
"https://deepgenerativemodels.github.io/assets/slides/cs236_lecture11.pdf",
646+
"https://developer.habana.ai", # returns 403 error but redirects to intel.com documentation
646647
"https://www.intel.com/content/www/us/en/products/docs/processors/what-is-a-gpu.html",
647648
"https://www.microsoft.com/en-us/research/blog/zero-infinity-and-deepspeed-unlocking-unprecedented-model-scale-for-deep-learning-training/", # noqa: E501
648649
"https://stackoverflow.com/questions/66640705/how-can-i-install-grpcio-on-an-apple-m1-silicon-laptop",
649650
"https://openai.com/blog/.*",
650651
"https://openai.com/index/*",
651652
"https://tinyurl.com/.*", # has a human verification check on redirect
652653
]
653-
654-
linkcheck_allowed_redirects = {
655-
# All HTTP redirections from the source URI to
656-
# the canonical URI will be treated as "working".
657-
r'https://developer.habana.ai': r'https://www.intel.com/content/www/us/en/developer/platform/gaudi/overview.html'
658-
}

0 commit comments

Comments
 (0)