diff --git a/.markdown_link_check_config.json b/.markdown_link_check_config.json index dac3ae97b..f8cf2cdd0 100644 --- a/.markdown_link_check_config.json +++ b/.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,