move doc dependencies to pyproject

This commit is contained in:
Ariel Rin
2023-10-07 20:45:39 +10:00
parent a4644028ae
commit efe0c6963b
4 changed files with 14 additions and 22 deletions

View File

@@ -28,7 +28,7 @@ commands =
description = invoke sphinx-build to build the HTML docs
basepython = python3.11
skip_install = True
deps = -r{toxinidir}/docs/requirements.txt
deps = .[docs]
install_command = python -I -m pip install {opts} {packages}
commands =
sphinx-build -T -E -b html -d "{toxworkdir}/docs_doctree" -D language=en docs "{toxworkdir}/docs_out" {posargs}