From 98c96b718f9f6a9e2ccb4632eafc5144b72c3f87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20=C3=85slund?= Date: Thu, 21 Nov 2024 01:39:39 +0100 Subject: [PATCH] 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 --- docs/concepts/projects/config.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/concepts/projects/config.md b/docs/concepts/projects/config.md index 93ca0b65e..49211264c 100644 --- a/docs/concepts/projects/config.md +++ b/docs/concepts/projects/config.md @@ -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" ```