mirror of https://github.com/astral-sh/uv
Improve formatting for `"all"` `default-groups` setting documentation (#12963)
## Summary Make the documentation for `"all"` `defauilt-groups` a little easier to read by monospacing the literal.
This commit is contained in:
parent
17ed789edb
commit
3d340e83b7
|
|
@ -343,7 +343,7 @@ pub struct ToolUv {
|
||||||
|
|
||||||
/// The list of `dependency-groups` to install by default.
|
/// The list of `dependency-groups` to install by default.
|
||||||
///
|
///
|
||||||
/// Can also be the literal "all" to default enable all groups.
|
/// Can also be the literal `"all"` to default enable all groups.
|
||||||
#[option(
|
#[option(
|
||||||
default = r#"["dev"]"#,
|
default = r#"["dev"]"#,
|
||||||
value_type = r#"str | list[str]"#,
|
value_type = r#"str | list[str]"#,
|
||||||
|
|
|
||||||
|
|
@ -112,7 +112,7 @@ constraint-dependencies = ["grpcio<1.65"]
|
||||||
|
|
||||||
The list of `dependency-groups` to install by default.
|
The list of `dependency-groups` to install by default.
|
||||||
|
|
||||||
Can also be the literal "all" to default enable all groups.
|
Can also be the literal `"all"` to default enable all groups.
|
||||||
|
|
||||||
**Default value**: `["dev"]`
|
**Default value**: `["dev"]`
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -119,7 +119,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"default-groups": {
|
"default-groups": {
|
||||||
"description": "The list of `dependency-groups` to install by default.\n\nCan also be the literal \"all\" to default enable all groups.",
|
"description": "The list of `dependency-groups` to install by default.\n\nCan also be the literal `\"all\"` to default enable all groups.",
|
||||||
"anyOf": [
|
"anyOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/definitions/DefaultGroups"
|
"$ref": "#/definitions/DefaultGroups"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue