mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Fix invalid 'kind' reference in flat index docs (#12583)
## Summary Closes https://github.com/astral-sh/uv/issues/12576.
This commit is contained in:
parent
545ededdf6
commit
94940e9221
1 changed files with 2 additions and 2 deletions
|
@ -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.,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue