ruff/scripts
Harry Reeder 099f077311
[docs] Add rule short code to mkdocs tags (#14040)
## Summary

<!-- What's the purpose of the change? What does it do, and why? -->
This PR updates the metadata in the YAML frontmatter of the mkdocs
documentation to include the rule short code as a tag, so it can be
easily searched.
Ref: #13684

## Test Plan

<!-- How was it tested? -->
This has been tested locally using the documentation provided
[here](https://docs.astral.sh/ruff/contributing/#mkdocs) for generating
docs.

This generates docs that now have the tags section:
```markdown
---
description: Checks for abstract classes without abstract methods.
tags:
- B024
---

# abstract-base-class-without-abstract-method (B024)
... trimmed
```

I've also verified that this gives the ability to get straight to the
page via search when serving mkdocs locally.

---------

Co-authored-by: Charlie Marsh <charlie.r.marsh@gmail.com>
2024-11-01 15:50:12 +00:00
..
benchmarks Bump version to 0.7.2 (#14039) 2024-11-01 19:09:07 +05:30
fuzz-parser Remove use of deprecated E999 from the fuzz-parser script (#12150) 2024-07-02 14:18:25 +01:00
knot_benchmark [red-knot] knot benchmark: fix --knot-path arg (#13923) 2024-10-25 11:43:39 +02:00
release Update release script to match uv (#11496) 2024-07-03 07:35:28 -05:00
_mdformat_utils.py Add a formatting step using mdformat as part of generate_mkdocs.py (#10484) 2024-03-21 00:37:40 +00:00
_utils.py Use __future__ imports in scripts (#5301) 2023-06-22 11:40:16 -04:00
add_plugin.py [pydoclint] Implement docstring-missing-exception and docstring-extraneous-exception (DOC501, DOC502) (#11471) 2024-07-20 19:41:51 +00:00
add_rule.py fixes invalid rule from hyphen (#11484) 2024-05-21 23:39:50 -04:00
check_docs_formatted.py Format PYI examples in docs as .pyi-file snippets (#13116) 2024-08-28 13:20:40 +01:00
check_ecosystem.py Remove ecosystem_ci flag from Ruff CLI (#12596) 2024-07-31 11:40:03 -05:00
Dockerfile.ecosystem Remove outdated feature flag from Dockerfile.ecosystem (#4620) 2023-05-24 08:19:08 +00:00
ecosystem_all_check.py Update pre-commit dependencies (#10698) 2024-04-06 23:00:41 +00:00
ecosystem_all_check.sh Rename Autofix to Fix (#7657) 2023-09-28 10:53:05 +00:00
ecosystem_all_check_entrypoint.sh Make ecosystem all check more generic (#4629) 2023-05-24 16:26:23 +02:00
formatter_ecosystem_checks.sh Update the revisions of the formatter stability check projects (#13380) 2024-09-18 08:26:40 +02:00
generate_builtin_modules.py Add a new script to generate builtin module names (#12696) 2024-08-05 21:33:36 +01:00
generate_known_standard_library.py Add a new script to generate builtin module names (#12696) 2024-08-05 21:33:36 +01:00
generate_mkdocs.py [docs] Add rule short code to mkdocs tags (#14040) 2024-11-01 15:50:12 +00:00
pyproject.toml Update pre-commit dependencies (#13289) 2024-09-09 11:11:01 +00:00
release.sh Update release script to match uv (#11496) 2024-07-03 07:35:28 -05:00
transform_readme.py Update pre-commit dependencies (#10698) 2024-04-06 23:00:41 +00:00
update_ambiguous_characters.py Update pre-commit dependencies (#10698) 2024-04-06 23:00:41 +00:00
update_schemastore.py Use https by default in schema store update script (#11882) 2024-06-14 17:30:54 -05:00