Skip to content

Commit 2bceb61

Browse files
committed
✨ Template: Add hatch docs:deploy script for MkDocs
Add a `hatch` command for manually deploying the MkDocs documentation to Github pages.
1 parent 3b75588 commit 2bceb61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

template/pyproject.toml.jinja

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ dependencies = [
4141
]
4242
scripts.build = "mkdocs build --clean --strict"
4343
scripts.serve = "mkdocs serve --dev-addr localhost:8000"
44+
scripts.deploy = "mkdocs gh-deploy --force"
4445
{%- endif %}
4546

4647
[tool.hatch.envs.precommit]

0 commit comments

Comments
 (0)