Skip to content

Commit a247c79

Browse files
chalincarlosalberto
authored andcommitted
[CI] Report link-check error when external URL used for local doc page (open-telemetry#498)
Co-authored-by: Carlos Alberto Cortez <[email protected]>
1 parent 732ae8b commit a247c79

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.markdown_link_check_config.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@
66
],
77
"replacementPatterns": [
88
{
9-
"pattern": "^/",
10-
"replacement": "{{BASEURL}}/"
9+
"pattern": "^/",
10+
"replacement": "{{BASEURL}}/"
11+
},
12+
{
13+
"pattern": "^https://github.com/open-telemetry/opentelemetry-proto/(blob|tree)/[^/]+/docs/",
14+
"replacement": "LINK-CHECK-ERROR-USE-LOCAL-PATH-TO-DOC-PAGE-NOT-EXTERNAL-URL/"
1115
}
1216
],
1317
"retryOn429": true,

0 commit comments

Comments
 (0)