[ty] Fix link in generate_ty_rules (#19090)

This commit is contained in:
David Peter 2025-07-02 16:21:32 +02:00 committed by GitHub
parent 522fd4462e
commit 4e4e428a95
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 67 additions and 67 deletions

View file

@ -91,7 +91,7 @@ fn generate_markdown() -> String {
let _ = writeln!(
&mut output,
r#"<small>
Default level: [`{level}`](/rules/#rule-levels "This lint has a default severity of '{level}'.") ·
Default level: [`{level}`](../rules.md#rule-levels "This lint has a default level of '{level}'.") ·
[Related issues](https://github.com/astral-sh/ty/issues?q=sort%3Aupdated-desc%20is%3Aissue%20is%3Aopen%20{encoded_name}) ·
[View source](https://github.com/astral-sh/ruff/blob/main/{file}#L{line})
</small>