From 9466d7c29d5cde2efa3e67cda74ae4cd472d4ebc Mon Sep 17 00:00:00 2001
From: Ultrabug <ultrabug@ultrabug.net>
Date: Fri, 17 May 2024 17:48:28 +0200
Subject: [PATCH] docs(pyproject): fix the doc environment used to locally
 serve the plugin documentation

via #303 thx to @niccokunzmann
---
 pyproject.toml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/pyproject.toml b/pyproject.toml
index e76d2c0..7cbeb84 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -75,11 +75,16 @@ test = [
 python = ["3.8", "3.9", "3.10", "3.11", "3.12"]
 type = ["default"]
 
-[tool.hatch.envs.docs]
+[tool.hatch.envs.doc]
 dependencies = [
     "mkdocs-material>=9.2.5"
 ]
 
+[tool.hatch.envs.doc.scripts]
+serve = [
+    "mkdocs serve",
+]
+
 [tool.hatch.envs.style]
 detached = true
 dependencies = [