Skip to content

Commit

Permalink
[CI] Report link-check error when external URL used for local doc page (
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored Jul 13, 2023
1 parent 18400cf commit ca88107
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .markdown_link_check_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
],
"replacementPatterns": [
{
"pattern": "^/",
"replacement": "{{BASEURL}}/"
"pattern": "^/",
"replacement": "{{BASEURL}}/"
},
{
"pattern": "^https://github.com/open-telemetry/semantic-conventions/(blob|tree)/[^/]+/docs/",
"replacement": "LINK-CHECK-ERROR-USE-LOCAL-PATH-TO-DOC-PAGE-NOT-EXTERNAL-URL/"
}
],
"retryOn429": true,
Expand Down

0 comments on commit ca88107

Please sign in to comment.