Skip to content

Commit edfd459

Browse files
author
markzegarelli
authored
Merge pull request #1562 from segmentio/link-check-fix
update link check regex
2 parents a8092dc + 55d316a commit edfd459

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.mlc-config.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@
55
"replacement": "/github/workspace/src"
66
},
77
{
8-
"pattern": "(\\S+)\/(\\s|$)",
9-
"replacement": "$1$2"
10-
},
11-
{
12-
"pattern": "(\\S+)",
13-
"replacement": "$1.md"
8+
"pattern": "(\\S+?)\/(\\S+?)\/?$",
9+
"replacement": "$1/$2.md"
1410
}
1511
]
1612
}

src/utils/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,3 @@ View the [Formatting Guide](/docs/utils/formatguide/) to see some of the neat st
3030
### Why doesn't this integration page have any programmatic content?
3131

3232
The liquid scripts run based on finding a match between the page path and the key in the `_data/catalog` files. Due to renames, these can fall out of date. Check out the [Find Mismatches page](/docs/utils/find-mismatches/) for a list of possible "problem child" destinations.
33-
34-

0 commit comments

Comments
 (0)