Skip to content

Commit a0fc845

Browse files
committed
👌 Template: Consistently use docs:serve
The MyST and MkDocs Hatch scripts for serving the documentation locally were different, to match the corresponding commands of the tools: * MyST: `hatch run docs:start` ~ `myst start` * MkDocs: `hatch run docs:serve` ~ `mkdocs serve` However, it's probably better to be uniform in our hatch script names, to avoid mixing them up when working across packages which use both documentation tools. We pick `serve` here, since that's what we are doing.
1 parent b421cb6 commit a0fc845

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎template/pyproject.toml.jinja‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ dependencies = [
3030
"mystmd"
3131
]
3232
scripts.build = "cd docs && myst build"
33-
scripts.start = "cd docs && myst start"
33+
scripts.serve = "cd docs && myst start"
3434
{%- endif -%}
3535

3636
{%- if docs == 'mkdocs' -%}

0 commit comments

Comments
 (0)