Skip to content

Commit 98c96b7

Browse files
jooonzanieb
andauthored
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 <[email protected]>
1 parent c62c83c commit 98c96b7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/concepts/projects/config.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ field of the `pyproject.toml`.
77

88
It is recommended to set a `requires-python` value:
99

10-
```toml title="pyproject.toml"
10+
```toml title="pyproject.toml" hl_lines="4"
1111
[project]
12+
name = "example"
13+
version = "0.1.0"
1214
requires-python = ">=3.12"
1315
```
1416

0 commit comments

Comments
 (0)