Skip to content

Commit 0fe84c5

Browse files
committed
add check-md plugin & build scripts
1 parent 6743393 commit 0fe84c5

File tree

3 files changed

+50
-1
lines changed

3 files changed

+50
-1
lines changed

docs/.vuepress/config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ module.exports = {
311311
baseURL: DEPLOY_DOMAIN
312312
}
313313
],
314+
'vuepress-plugin-check-md',
314315
'vuepress-plugin-ipfs'
315316
],
316317
extraWatchFiles: ['.vuepress/nav/en.js']

package-lock.json

Lines changed: 46 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"stylus-supremacy": "^2.14.5",
2121
"vuepress": "^1.5.2",
2222
"vuepress-plugin-canonical": "^1.0.0",
23+
"vuepress-plugin-check-md": "0.0.2",
2324
"vuepress-plugin-clean-urls": "^1.1.1",
2425
"vuepress-plugin-ipfs": "^1.0.2",
2526
"vuepress-plugin-robots": "^1.0.1",
@@ -57,6 +58,7 @@
5758
"test": "echo \"Error: no test specified\" && exit 1",
5859
"format:styles": "stylus-supremacy format ./docs/.vuepress/**/*.styl --replace",
5960
"docs:dev": "vuepress dev docs",
60-
"docs:build": "vuepress build docs"
61+
"docs:build": "docs:links && vuepress build docs",
62+
"docs:links": "vuepress check-md docs"
6163
}
6264
}

0 commit comments

Comments
 (0)