diff --git a/pyproject.toml b/pyproject.toml index 9569e80..fb27dc6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,6 +36,7 @@ killercoda-cli = "killercoda_cli.cli:main" [tool.hatch.version] path = "killercoda_cli/__about__.py" +validate-bump = false [tool.hatch.envs.default] dependencies = [ @@ -52,6 +53,9 @@ type = "virtual" path = ".venv-docs" dependencies = ["pdoc3"] +[tool.hatch.envs.docs.scripts] +generate = "pdoc -m google killercoda_cli -o docs" + [tool.hatch.envs.default.scripts] test = "pytest {args:tests}" test-cov = "coverage run -m pytest {args:tests}"