From 5833f15849ec1d07c99cbcce970901f9a3e1167d Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Tue, 14 May 2024 13:10:25 -0400 Subject: [PATCH] Adjust link checker rules to ignore docs redirect links --- .htmltest.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.htmltest.yml b/.htmltest.yml index 10ed33141869..09c40257b946 100644 --- a/.htmltest.yml +++ b/.htmltest.yml @@ -10,11 +10,11 @@ IgnoreDirs: - ^blog/(\d+/)?page/\d+ IgnoreInternalURLs: # list of paths IgnoreURLs: # list of regexs of paths or URLs to be ignored - - ^/docs/languages/\w+/(api|examples|registry)/$ - - ^/docs/collector/registry/$ - - ^/docs/languages/net/(metrics-api|traces-api)/ + - ^(/zh)?/docs/languages/\w+/(api|examples|registry)/$ + - ^(/zh)?/docs/collector/registry/$ + - ^(/zh)?/docs/languages/net/(metrics-api|traces-api)/ + - ^((/zh)?/docs/migration/)?opencensus/$ - ^/community/end-user/feedback-survey/$ - - ^(/docs/migration/)?opencensus/$ - ^https://deploy-preview-\d+--opentelemetry.netlify.app/ - ^https://www\.googletagmanager\.com