Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用 html-proofer 检查历史遗留的死链 #13

Open
taoky opened this issue Nov 20, 2020 · 0 comments
Open

使用 html-proofer 检查历史遗留的死链 #13

taoky opened this issue Nov 20, 2020 · 0 comments
Assignees

Comments

@taoky
Copy link
Member

taoky commented Nov 20, 2020

html-proofer

参考命令,在 Jekyll build 完成后进行:

bundle exec htmlproofer --url-swap '\/static\/:https\://lug.ustc.edu.cn/static/' ./_site

目前大约有 1000 余个问题。(不过绝大部分错误都是图片没有 alt)

由于执行时间很长,且新页面一般不会有死链,所以不考虑加入 CI。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants