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
open-telemetry#498)

Co-authored-by: Carlos Alberto Cortez <[email protected]>
  • Loading branch information
2 people authored and VinozzZ committed Jun 21, 2024
1 parent 1dfe1f2 commit 53a41b4
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/opentelemetry-proto/(blob|tree)/[^/]+/docs/",
"replacement": "LINK-CHECK-ERROR-USE-LOCAL-PATH-TO-DOC-PAGE-NOT-EXTERNAL-URL/"
}
],
"retryOn429": true,
Expand Down

0 comments on commit 53a41b4

Please sign in to comment.