mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-23 08:16:54 +00:00
docs: tox -e docs tests building the docs
This commit is contained in:
parent
e8e1a3a37c
commit
fc7cd92ee2
1 changed files with 10 additions and 1 deletions
11
tox.ini
11
tox.ini
|
@ -2,13 +2,14 @@
|
||||||
# fakeroot -u tox --recreate
|
# fakeroot -u tox --recreate
|
||||||
|
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py{39,310,311}-{none,fuse2,fuse3}
|
envlist = py{39,310,311}-{none,fuse2,fuse3},docs
|
||||||
minversion = 3.2
|
minversion = 3.2
|
||||||
requires =
|
requires =
|
||||||
pkgconfig
|
pkgconfig
|
||||||
cython
|
cython
|
||||||
wheel
|
wheel
|
||||||
setuptools_scm
|
setuptools_scm
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
package = editable-legacy # without this it does not find setup_docs when running under fakeroot
|
package = editable-legacy # without this it does not find setup_docs when running under fakeroot
|
||||||
setenv =
|
setenv =
|
||||||
|
@ -42,3 +43,11 @@ deps =
|
||||||
mypy
|
mypy
|
||||||
pkgconfig
|
pkgconfig
|
||||||
commands = mypy
|
commands = mypy
|
||||||
|
|
||||||
|
[testenv:docs]
|
||||||
|
changedir = docs
|
||||||
|
deps =
|
||||||
|
sphinx
|
||||||
|
guzzle_sphinx_theme
|
||||||
|
commands =
|
||||||
|
sphinx-build -n -v -W --keep-going -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
|
||||||
|
|
Loading…
Reference in a new issue