Fix example pyproject.toml in project concept documentation (#9298)

The snippet out of context looks like a valid minimal pyproject.toml
which it is not without name and version. The line worked in layout.md
before when it was just under the minimal config.

---------

Co-authored-by: Zanie Blue <contact@zanie.dev>
This commit is contained in:
Jon Åslund 2024-11-21 01:39:39 +01:00 committed by GitHub
parent c62c83c37a
commit 98c96b718f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,8 +7,10 @@ field of the `pyproject.toml`.
It is recommended to set a `requires-python` value:
```toml title="pyproject.toml"
```toml title="pyproject.toml" hl_lines="4"
[project]
name = "example"
version = "0.1.0"
requires-python = ">=3.12"
```