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

Per-diagnostic warning/error policy #91

Open
kyrias opened this issue Jan 6, 2025 · 0 comments
Open

Per-diagnostic warning/error policy #91

kyrias opened this issue Jan 6, 2025 · 0 comments

Comments

@kyrias
Copy link

kyrias commented Jan 6, 2025

We're using mdformat for our documentation which has now started removing the escapes from regular square bracketed text, with the rationale that under the CommonMark spec they should be equivalent and so the escaping is unnecessary. This means that mdbook-linkcheck now warns about all of these being potentially incomplete links.

While it's possible to set warning-policy to ignore what we want is to be able to only disable the incomplete link warning while leaving the absolute link warning, and any warnings that might be added in the future, in effect.

So it would be useful if there was a system for setting the policy per-diagnostic instead.

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

1 participant