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

Add script &CI to check dead links #39

Open
liugddx opened this issue Dec 12, 2024 · 3 comments · May be fixed by #45
Open

Add script &CI to check dead links #39

liugddx opened this issue Dec 12, 2024 · 3 comments · May be fixed by #45
Assignees
Labels
good first issue Good for newcomers

Comments

@liugddx
Copy link
Contributor

liugddx commented Dec 12, 2024

Feature Request

Add script &CI to check dead links.

Which Areas Would Be Affected?

CI

Why Is the Feature Desired?

Every time PR is merged, we can ensure that there are no dead links.

Solution Proposal

If possible, provide a (brief!) solution proposal.

@ndr-brt
Copy link
Member

ndr-brt commented Dec 18, 2024

A proposal could be to use wget directly, it looks pretty straightforward:
https://www.digitalocean.com/community/tutorials/how-to-find-broken-links-on-your-website-using-wget-on-debian-7

otherwise a tool like htmltest could be used:
https://robb.sh/posts/check-links-in-hugo-with-htmltest/

@ndr-brt ndr-brt added the good first issue Good for newcomers label Dec 18, 2024
@liugddx
Copy link
Contributor Author

liugddx commented Dec 18, 2024

A proposal could be to use wget directly, it looks pretty straightforward:

https://www.digitalocean.com/community/tutorials/how-to-find-broken-links-on-your-website-using-wget-on-debian-7

otherwise a tool like htmltest could be used:

https://robb.sh/posts/check-links-in-hugo-with-htmltest/

I‘m willing to have a try.

@ndr-brt
Copy link
Member

ndr-brt commented Dec 18, 2024

Great! I assigned you on the issue

@liugddx liugddx linked a pull request Dec 19, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
2 participants