forked from hashicorp/terraform-provider-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.markdownlinkcheck.json
40 lines (40 loc) · 1.68 KB
/
.markdownlinkcheck.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
{
"ignorePatterns": [
{
"pattern": "^http(s)?://(?!(docs\\.aws\\.amazon\\.com|github.com|(www\\.)?terraform\\.io))"
},
{
"pattern": "^https://github.com/[^/]+/[^/]+/(issues|labels|pull)"
}
],
"replacementPatterns": [
{
"pattern": "^(/docs/(?!providers/aws/))",
"replacement": "https://terraform.io$1"
},
{
"pattern": "^(?!http(s)?://)(.*)\\.html(#.*)?$",
"replacement": "$2.html.markdown$3"
},
{
"pattern": "^/docs/providers/aws/",
"replacement": "file:///github/workspace/website/docs/"
},
{
"pattern": "^(custom-service-endpoints|resource-tagging|version-2-upgrade|version-3-upgrade).html.markdown(#.*)?$",
"replacement": "file:///github/workspace/website/docs/guides/$1.html.md$2"
},
{
"pattern": "^file:///github/workspace/website/docs/guides/(.*)\\.markdown(#.*)?$",
"replacement": "file:///github/workspace/website/docs/guides/$1.md$2"
},
{
"pattern": "^file:///github/workspace/website/docs/d/(cognito_user_pools)\\.html\\.markdown(#.*)?$",
"replacement": "file:///github/workspace/website/docs/d/$1.markdown$2"
},
{
"pattern": "^file:///github/workspace/website/docs/r/(cognito_identity_pool|cognito_user_pool|iam_role_policy_attachment|iam_user_policy_attachment|network_interface|ram_principal_association|ram_resource_share|ram_resource_share_accepter)\\.html\\.markdown(#.*)?$",
"replacement": "file:///github/workspace/website/docs/r/$1.markdown$2"
}
]
}