From a6d23ed898613fe63a914e4e30920ddb77b67318 Mon Sep 17 00:00:00 2001 From: Nikhil Shenoy Date: Thu, 5 Jan 2023 10:25:14 -0800 Subject: [PATCH] Skip sphinx `linkcheck` on CHANGELOG files (#16259) Co-authored-by: Nikhil Shenoy --- docs/source-pytorch/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/source-pytorch/conf.py b/docs/source-pytorch/conf.py index 2eddfed036..5d95d62e65 100644 --- a/docs/source-pytorch/conf.py +++ b/docs/source-pytorch/conf.py @@ -409,3 +409,6 @@ coverage_skip_undoc_in_source = True # skip false positive linkcheck errors from anchors linkcheck_anchors = False + +# ignore all links in any CHANGELOG file +linkcheck_exclude_documents = [r"^(.*\/)*CHANGELOG.*$"]