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 mkdocs-htmlproofer-plugin to check for broken links #101

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

ebouchut
Copy link
Contributor

This PR adds mkdocs-htmlproofer-plugin to help you find broken links.

Here is how to check for broken links in your local repository:

CHECK_BROKEN_LINKS=true mkdocs serve --quiet

This command exits with an error if broken links are found.

ℹ️ We can always check a Web page for broken links using the W3C Link Checker. Sometimes, it may prove useful to dig deeper to determine the root cause of htmlproofer considering a link broken.

This plugin validates URLs, including anchors, in rendered html files.
To check for broken links locally:
    CHECK_BROKEN_LINKS=true mkdocs serve --quiet

See: https://github.com/manuzhang/mkdocs-htmlproofer-plugin
@ebouchut ebouchut changed the title ➕ Add mkdocs-htmlproofer-plugin to chck for broken links ➕ Add mkdocs-htmlproofer-plugin to check for broken links Nov 14, 2024
Copy link
Contributor Author

@ebouchut ebouchut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Successfully merging this pull request may close these issues.

1 participant