-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Redirect from rule codes to rule pages in docs #8636
Conversation
|
code | total | + violation | - violation | + fix | - fix |
---|---|---|---|---|---|
PLR6301 | 41526 | 20763 | 20763 | 0 | 0 |
Formatter (stable)
✅ ecosystem check detected no format changes.
Formatter (preview)
✅ ecosystem check detected no format changes.
f1b0246
to
ec62045
Compare
@charliermarsh : I think you broke something, when building the docs without access to the insiders version of MKdocs, I am told that the typeset plugin is not installed, which is insiders only (https://squidfunk.github.io/mkdocs-material/plugins/typeset/). |
@maltevesper -- Are you using |
@maltevesper -- See: #8806 |
I did not, thanks for the update. |
Summary
This adds redirects from, e.g.,
https://docs.astral.sh/ruff/rules/F401
tohttps://docs.astral.sh/ruff/rules/unused-import
, which are generated automatically when creating the documentation. Though we want to move towards human-readable names eventually, I think this is a nice and user-friendly change (and doesn't require any fancy infrastructure, since the redirects are handled via a plugin and added client-side).Closes #4710.