ulivz / vuepress-plugin-check-md

Check dead links of markdown.
MIT License
25 stars 7 forks source link

Vuepress v2 support? #6

Open jmaneyrol69 opened 3 years ago

jmaneyrol69 commented 3 years ago

Hi,

As VuePress v2 (a.k.a vuepress@next) is nearing stable state (see https://github.com/vuepress/vuepress-next/discussions/68), my company is considering migrating to it. Since we use this plugin for our documentation (docs.genymotion.com), we would need to know: are there any plans to port it for VuePress v2?

Thank you. Best regards,

ascott18 commented 2 years ago

I used https://github.com/filiph/linkcheck via https://www.npmjs.com/package/linkcheck-bin to achieve this. It supports link checking as well as hash/fragment/anchor checking.

"scripts": {
    "dev": "vuepress dev",
    "linkcheck": "linkcheck :8080 -e",
    "build": "vuepress build && start-server-and-test 'http-server ./.vuepress/dist --silent' 8080 linkcheck"
  },
  "devDependencies": {
    "http-server": "^14.1.0",
    "linkcheck-bin": "^2.0.20",
    "start-server-and-test": "^1.14.0",
    "vuepress": "^2.0.0-beta.43"
  }