Fix invalid 'kind' reference in flat index docs (#12583)

## Summary

Closes https://github.com/astral-sh/uv/issues/12576.
This commit is contained in:
Charlie Marsh 2025-03-31 09:22:35 -04:00 committed by GitHub
parent 545ededdf6
commit 94940e9221
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -230,13 +230,13 @@ By default, `[[tool.uv.index]]` entries are assumed to be PyPI-style registries
indexes, which are local directories or HTML pages that contain flat lists of wheels and source
distributions. In pip, such indexes are specified using the `--find-links` option.
To define a flat index in your `pyproject.toml`, use the `kind = "flat"` option:
To define a flat index in your `pyproject.toml`, use the `format = "flat"` option:
```toml
[[tool.uv.index]]
name = "example"
url = "/path/to/directory"
kind = "flat"
format = "flat"
```
Flat indexes support the same feature set as Simple Repository API indexes (e.g.,