aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml12
1 files changed, 11 insertions, 1 deletions
diff --git a/pyproject.toml b/pyproject.toml
index fad0f24a..c0a57862 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -15,7 +15,7 @@ packages = [
exclude = ["tests", "tests.*"]
[tool.poetry.dependencies]
-python = "^3.9"
+python = "3.9.*"
"discord.py" = "^1.7.2"
[tool.poetry.dev-dependencies]
@@ -34,10 +34,20 @@ python-dotenv = "^0.18.0"
pytest = "~=6.2.4"
pytest-cov = "~=2.12.1"
pytest-xdist = { version = "~=2.3.0", extras = ["psutil"] }
+Sphinx = "^4.3.1"
+tomli = "^1.2.2"
+GitPython = "^3.1.24"
+sphinx-autodoc-typehints = "^1.12.0"
+releases = "^1.6.3"
+furo = "^2021.11.23"
+
[tool.taskipy.tasks]
lint = "pre-commit run --all-files"
precommit = "pre-commit install"
+apidoc = "sphinx-apidoc -o docs/output botcore -fe"
+builddoc = "sphinx-build -nW -j auto -b html docs docs/build"
+docs = "task apidoc && task builddoc"
[build-system]
requires = ["poetry-core>=1.0.0"]