2017-03-06 14:45:58 -08:00
|
|
|
[tox]
|
2022-08-27 08:17:19 +02:00
|
|
|
envlist =
|
2023-08-21 20:38:57 +02:00
|
|
|
py{38,39,310}-sphinx{60,61,62,70,71}{-qa}
|
2024-08-20 13:18:34 +02:00
|
|
|
py{39,310,311,312}-sphinx{72,73,74,80}{-qa}
|
|
|
|
|
py{310,311,312}-sphinx{latest,dev}{-qa}
|
2017-03-06 14:45:58 -08:00
|
|
|
|
|
|
|
|
[testenv]
|
2022-12-30 19:56:29 +01:00
|
|
|
setenv =
|
2017-03-06 14:45:58 -08:00
|
|
|
LANG=C
|
|
|
|
|
deps =
|
|
|
|
|
.
|
|
|
|
|
pytest
|
2023-01-04 16:21:01 +01:00
|
|
|
sphinx60: Sphinx>=6.0,<6.1
|
2023-08-04 02:15:33 +02:00
|
|
|
sphinx61: Sphinx>=6.1,<6.2
|
2023-08-21 20:38:57 +02:00
|
|
|
sphinx62: Sphinx>=6.2,<6.3
|
2023-08-04 02:15:33 +02:00
|
|
|
sphinx70: Sphinx>=7.0,<7.1
|
|
|
|
|
sphinx71: Sphinx>=7.1,<7.2
|
2023-08-21 20:38:57 +02:00
|
|
|
sphinx72: Sphinx>=7.2,<7.3
|
2024-08-20 13:18:34 +02:00
|
|
|
sphinx80: Sphinx>=8.0,<8.1
|
2021-02-11 18:09:47 -05:00
|
|
|
sphinxlatest: Sphinx
|
2024-07-25 12:14:52 +02:00
|
|
|
sphinxdev: https://github.com/sphinx-doc/sphinx/archive/refs/heads/master.zip
|
2023-08-23 18:23:48 +02:00
|
|
|
allowlist_externals =
|
|
|
|
|
echo
|
2017-03-06 14:45:58 -08:00
|
|
|
commands =
|
2020-10-08 17:31:26 -05:00
|
|
|
pytest {posargs} tests/
|
2023-08-21 20:38:57 +02:00
|
|
|
sphinx-build -b html -Dhtml4_writer=0 -d {envtmpdir}/doctrees docs/ {envtmpdir}/html
|
2023-08-23 18:23:48 +02:00
|
|
|
echo "Open the following URL for visual testing: file://{envtmpdir}/html/demo/demo.html"
|