docs: list supported sdist formats (#7168)

## Summary

Explicitly list the formats and extensions that uv supports, based on
[this
list](86ee8d2c01/crates/distribution-filename/src/extension.rs (L70-L77)).
Not a huge fan of adding the section in `concepts/resolution.md`, but I
did not find a better place. Alternatively we could maybe add a
dedicated page that shortly explains Python package types (wheels,
sdists), where such a section could live?

## Test Plan

Local run of the documentation.
This commit is contained in:
Mathieu Kniewallner 2024-09-07 21:16:12 +02:00 committed by GitHub
parent e8a26a43f5
commit 8341d810b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 46 additions and 32 deletions

View file

@ -3562,7 +3562,7 @@ pub struct IndexArgs {
/// indexes.
///
/// If a path, the target must be a directory that contains packages as wheel files (`.whl`) or
/// source distributions (`.tar.gz` or `.zip`) at the top level.
/// source distributions (e.g., `.tar.gz` or `.zip`) at the top level.
///
/// If a URL, the page must contain a flat list of links to package files adhering to the
/// formats described above.