Skip to content

Commit

Permalink
fix: ignore 403 status code from habana.ai since it redirects intel.c…
Browse files Browse the repository at this point in the history
…om documentation
  • Loading branch information
alleeclark committed Dec 17, 2024
1 parent f926db5 commit 7ab9753
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions docs/source-pytorch/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,16 +643,11 @@ 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",
"https://openai.com/blog/.*",
"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'
}

0 comments on commit 7ab9753

Please sign in to comment.