[ty] Fix callout syntax in configuration mkdocs (#1875)

This commit is contained in:
Leandro Braga 2025-12-13 13:45:07 -03:00
parent e2ec2bc306
commit 4ac9ca75ef
2 changed files with 4 additions and 4 deletions

View File

@ -144,8 +144,8 @@ fn emit_field(output: &mut String, name: &str, field: &OptionField, parents: &[S
output.push('\n'); output.push('\n');
if let Some(deprecated) = &field.deprecated { if let Some(deprecated) = &field.deprecated {
output.push_str("> [!WARN] \"Deprecated\"\n"); output.push_str("!!! warning \"Deprecated\"\n");
output.push_str("> This option has been deprecated"); output.push_str(" This option has been deprecated");
if let Some(since) = deprecated.since { if let Some(since) = deprecated.since {
write!(output, " in {since}").unwrap(); write!(output, " in {since}").unwrap();

View File

@ -432,8 +432,8 @@ respect-ignore-files = false
### `root` ### `root`
> [!WARN] "Deprecated" !!! warning "Deprecated"
> This option has been deprecated. Use `environment.root` instead. This option has been deprecated. Use `environment.root` instead.
The root of the project, used for finding first-party modules. The root of the project, used for finding first-party modules.