[CI] Report link-check error when external URL used for local doc page (#498)

Co-authored-by: Carlos Alberto Cortez <calberto.cortez@gmail.com>
pull/494/head^2
Patrice Chalin 1 year ago committed by GitHub
parent afcd2aa7f7
commit 1ced00ec99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      .markdown_link_check_config.json

@ -6,8 +6,12 @@
],
"replacementPatterns": [
{
"pattern": "^/",
"replacement": "{{BASEURL}}/"
"pattern": "^/",
"replacement": "{{BASEURL}}/"
},
{
"pattern": "^https://github.com/open-telemetry/opentelemetry-proto/(blob|tree)/[^/]+/docs/",
"replacement": "LINK-CHECK-ERROR-USE-LOCAL-PATH-TO-DOC-PAGE-NOT-EXTERNAL-URL/"
}
],
"retryOn429": true,

Loading…
Cancel
Save