Include the category in individual rule documentation pages (#30503)
Summary
--
Seems like a bit of an oversight on my part, or maybe we opted to leave
this out until the feature
stabilized? But I've found myself repeatedly clicking into rule
implementations to retrieve this
information, and it doesn't seem too intrusive to include it in the
header.
Test Plan
--
The header now looks like this:
<img width="442" height="322" alt="image"
src="https://github.com/user-attachments/assets/0b77adfb-9335-4ca0-acdd-2555b4e326a8"
/>
and the category links to a filtered view of the rules table:
https://docs.astral.sh/ruff/rules/?category=suspicious