aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2022-05-11 04:08:42 +0400
committerGravatar Hassan Abouelela <[email protected]>2022-05-29 22:07:28 +0400
commit4c9cad2552ebeb96f747467017ef3155595a9d1c (patch)
treeda07cee79207d6160f5e6183ce69b2818063db83 /pyproject.toml
parentRestore Releases Changelog (diff)
Add Sphinx-MultiVersion
Adds the sphinx-multiversion package to be used for generating docs for all versions of the project, not just the latest. This includes all the necessary configuration to make it work cleanly. Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml7
1 files changed, 3 insertions, 4 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 4ab1af72..4290417f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "bot-core"
-version = "7.1.0"
+version = "7.1.1"
description = "Bot-Core provides the core functionality and utilities for the bots of the Python Discord community."
authors = ["Python Discord <[email protected]>"]
license = "MIT"
@@ -44,13 +44,12 @@ GitPython = "3.1.27"
sphinx-autodoc-typehints = "1.18.1"
furo = "2022.4.7"
releases = "1.6.3"
+sphinx-multiversion = "0.2.4"
[tool.taskipy.tasks]
lint = "pre-commit run --all-files"
precommit = "pre-commit install"
-apidoc = "sphinx-apidoc -o docs/output botcore -feM"
-builddoc = "sphinx-build -nW -j auto -b html docs docs/build"
-docs = "task apidoc && task builddoc"
+docs = "sphinx-build -nW -j auto -b html docs docs/build"
test = "pytest -n 8 --ff"
retest = "pytest -n 8 --lf"