-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy path.markdown-link-check.json
More file actions
95 lines (95 loc) · 2.49 KB
/
.markdown-link-check.json
File metadata and controls
95 lines (95 loc) · 2.49 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"ignorePatterns": [
{
"pattern": "^http://localhost",
"comment": "Local server"
},
{
"pattern": "^https://localhost",
"comment": "Local server"
},
{
"pattern": "^http://127.0.0.1",
"comment": "Local IP"
},
{
"pattern": "^https://127.0.0.1",
"comment": "Local IP"
},
{
"pattern": "^http://0.0.0.0",
"comment": "Local binding address"
},
{
"pattern": "^https://0.0.0.0",
"comment": "Local binding address"
},
{
"pattern": "^https://www.google.com/search",
"comment": "Google Search blocks automated checks"
},
{
"pattern": "^https://www.linkedin.com",
"comment": "LinkedIn requires login authentication"
},
{
"pattern": "^https://twitter.com",
"comment": "Twitter/X has strict rate limits"
},
{
"pattern": "^https://x.com",
"comment": "Twitter/X new domain"
},
{
"pattern": "^https://www.facebook.com",
"comment": "Facebook requires login authentication"
},
{
"pattern": "^https://bit.ly",
"comment": "URL shortener service may be unstable"
},
{
"pattern": "^https://t.co",
"comment": "Twitter URL shortener"
},
{
"pattern": "^https://goo.gl",
"comment": "Google URL shortener"
}
],
"replacementPatterns": [
{
"pattern": "^/",
"replacement": "{{BASEURL}}/"
}
],
"httpHeaders": [
{
"urls": ["https://github.com", "https://raw.githubusercontent.com"],
"headers": {
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
"Accept-Language": "en-US,en;q=0.9",
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
}
},
{
"urls": ["https://docs.matrixorigin.io", "https://www.matrixorigin.io"],
"headers": {
"Accept": "text/html",
"User-Agent": "Mozilla/5.0 (compatible; MatrixOne-Docs-Link-Checker/1.0)"
}
},
{
"urls": ["*"],
"headers": {
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
"User-Agent": "Mozilla/5.0 (compatible; MatrixOne-Docs-Link-Checker/1.0; +https://www.matrixorigin.io)"
}
}
],
"timeout": "30s",
"retryOn429": true,
"retryCount": 5,
"fallbackRetryDelay": "15s",
"aliveStatusCodes": [200, 201, 202, 203, 204, 206, 301, 302, 303, 307, 308, 403, 999]
}