vuepress-theme-cosmos
vuepress-theme-cosmos copied to clipboard
Check deadlinks
Check dead links in *.md that cause docs build error
- ~~https://www.npmjs.com/package/vuepress-plugin-check-md~~
- ~~https://www.npmjs.com/package/netlify-plugin-checklinks~~
- ~~https://www.npmjs.com/package/hyperlink~~
- https://github.com/tcort/markdown-link-check
- https://github.com/gaurav-nelson/github-action-markdown-link-check
Related:
- https://github.com/cosmos/cosmos-sdk/pull/7832
- https://github.com/cosmos/vuepress-theme-cosmos/issues/140
- https://github.com/cosmos/cosmos-sdk/pull/8353#issuecomment-765638877
Update
- It's been implemented on https://github.com/cosmos/cosmos-sdk/blob/master/.github/workflows/linkchecker.yml
- GitHub Action Workflow: https://github.com/cosmos/cosmos-sdk/runs/1745976788?check_suite_focus=true#step:4:1449
- Broken link https://github.com/cosmos/cosmos-sdk/blob/0.40.0/simapp/simd/cmd/root.go#L99-L121 still go unnoticed
- Ref: https://github.com/cosmos/cosmos-sdk/pull/8353#issuecomment-765638877
Maybe it's necessary to add another workflow to check the deadlinks of the modified files for PRs on top of scanning for deadlinks every 24 hours.
cc: @marbar3778
This is possible, I was wondering what is the best way to handle reidrects?