add new rye script for mkdocs serving

i.e. useful for preview:

    rye run serve-docs
This commit is contained in:
Cédric Deltheil 2024-01-08 16:54:03 +01:00 committed by Cédric Deltheil
parent b640495dd0
commit 9b9578cb7e

View file

@ -67,6 +67,7 @@ allow-direct-references = true
[tool.rye.scripts] [tool.rye.scripts]
lint = { chain = ["ruff format .", "ruff --fix ."] } lint = { chain = ["ruff format .", "ruff --fix ."] }
serve-docs = "mkdocs serve"
[tool.black] [tool.black]
line-length = 120 line-length = 120