-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.markdown_link_check_config.json
48 lines (48 loc) · 1.5 KB
/
.markdown_link_check_config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"ignorePatterns": [
{
"pattern": "^https://github\\.com/Contrast-Security-Inc/secobs-semantic-conventions/(issues|pull)"
},
{
"pattern": "^https://github\\.com/Contrast-Security-OSS/secobs-semantic-conventions/(issues|pull)"
},
{
"pattern": "^https://github\\.com/open-telemetry/semantic-conventions/(issues|pull|actions)"
},
{
"pattern": "^https://github\\.com/Contrast-Security-OSS/contrast-semantic-conventions/(issues|pull|actions)"
},
{
"pattern": "^#"
}
],
"replacementPatterns": [
{
"pattern": "^/",
"replacement": "{{BASEURL}}/"
},
{
"pattern": "^https://github.com/Contrast-Security-Inc/secobs-semantic-conventions/(blob|tree)/[^/]+/docs/",
"replacement": "LINK-CHECK-ERROR-USE-LOCAL-PATH-TO-DOC-PAGE-NOT-EXTERNAL-URL/"
},
{
"pattern": "^https://github.com/Contrast-Security-OSS/secobs-semantic-conventions/(blob|tree)/[^/]+/docs/",
"replacement": "LINK-CHECK-ERROR-USE-LOCAL-PATH-TO-DOC-PAGE-NOT-EXTERNAL-URL/"
},
{
"pattern": "^https://github.com/Contrast-Security-OSS/contrast-semantic-conventions/(blob|tree)/[^/]+/docs/",
"replacement": "LINK-CHECK-ERROR-USE-LOCAL-PATH-TO-DOC-PAGE-NOT-EXTERNAL-URL/"
}
],
"httpHeaders": [
{
"urls": ["http", ".", "/"],
"headers": {
"User-Agent": "Mozilla/5.0 (compatible; ContrastSecurityDocsBot/1.0)"
}
}
],
"retryOn429": true,
"timeout": "30s",
"aliveStatusCodes": [200, 403]
}