forked from hashicorp/terraform-provider-aws
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.markdownlinkcheck.json
33 lines (33 loc) · 1.35 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
{
"ignorePatterns": [
{
"pattern": "^http(s)?://(?!(docs\\.aws\\.amazon\\.com|github.com|(www\\.)?terraform\\.io))"
}
],
"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": "^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"
}
]
}