mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-09 10:00:25 +00:00
Normalize relative markdown links (#3190)
This commit is contained in:
parent
a688a237d7
commit
6e54cd8233
4 changed files with 4 additions and 14 deletions
|
@ -5,7 +5,7 @@ use ruff::registry::{Linter, Rule, RuleNamespace, UpstreamCategory};
|
|||
use strum::IntoEnumIterator;
|
||||
|
||||
const FIX_SYMBOL: &str = "🛠";
|
||||
const URL_PREFIX: &str = "https://beta.ruff.rs/docs/rules";
|
||||
const URL_PREFIX: &str = "/docs/rules";
|
||||
|
||||
fn generate_table(table_out: &mut String, rules: impl IntoIterator<Item = Rule>, linter: &Linter) {
|
||||
table_out.push_str("| Code | Name | Message | Fix |");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue