Build backend: Add reference docs and schema (#12803)

Add reference documentation and schema integration for the uv build
backend. The reference documentation comes with a preview note upfront.
This commit is contained in:
konsti 2025-04-21 12:27:49 +02:00 committed by GitHub
parent 2b96dbdd49
commit da09ece8a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 559 additions and 171 deletions

View file

@ -291,7 +291,7 @@ fn parse_field_attributes(attribute: &Attribute) -> syn::Result<FieldAttributes>
return Err(syn::Error::new(
meta.path.span(),
format!(
"Deprecated meta {:?} is not supported by ruff's option macro.",
"Deprecated meta {:?} is not supported by uv's option macro.",
meta.path.get_ident()
),
));
@ -332,7 +332,7 @@ fn parse_deprecated_attribute(attribute: &Attribute) -> syn::Result<DeprecatedAt
return Err(syn::Error::new(
meta.path.span(),
format!(
"Deprecated meta {:?} is not supported by ruff's option macro.",
"Deprecated meta {:?} is not supported by uv's option macro.",
meta.path.get_ident()
),
));