mirror of https://github.com/astral-sh/ruff
Summary -- I wanted to use a link to a preview function to help remember to update some documentation in #21385, but I noticed that we weren't enforcing doc checks for private items. I had Claude take the first stab here, but I ended up having to go back through most of the changes to get the correct links. The first commit makes everything compile, mostly by adding `(path::to::item)` entries to the links, or removing brackets when the items aren't public enough. There were only a couple of cases where I think things were renamed, and I tried to find the new name for the type that was referenced (e.g. `FlatBinaryExpressionSlice`). The second commit rewraps the lines that were now too long and fixes a couple of very small typos I noticed. Test Plan -- CI on this PR |
||
|---|---|---|
| .. | ||
| comments | ||
| expression | ||
| module | ||
| other | ||
| pattern | ||
| snapshots | ||
| statement | ||
| string | ||
| type_param | ||
| builders.rs | ||
| cli.rs | ||
| context.rs | ||
| db.rs | ||
| generated.rs | ||
| lib.rs | ||
| main.rs | ||
| options.rs | ||
| prelude.rs | ||
| preview.rs | ||
| range.rs | ||
| shared_traits.rs | ||
| verbatim.rs | ||