Skip to content

Commit 9138922

Browse files
committed
Activate href checks for misc_docs
1 parent dad2200 commit 9138922

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/test-hrefs.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,10 @@ const testFile = (pageMap, test) => {
206206
const main = () => {
207207
const [, , pattern] = process.argv;
208208
const cwd = path.join(__dirname, "..");
209+
210+
// All files that are going to be tested for broken links
209211
const files = glob.sync(
210-
pattern ? pattern : `./{pages,_blogposts}/**/*.md?(x)`,
212+
pattern ? pattern : `./{pages,_blogposts,misc_docs}/**/*.md?(x)`,
211213
{ cwd }
212214
);
213215

0 commit comments

Comments
 (0)