| 1 |
[tox] |
| 2 |
envlist = |
| 3 |
py{38,39,310}-sphinx{60,61,62,70,71}{-qa} |
| 4 |
py{39,310,311,312,313}-sphinx{72,73,74,80}{-qa} |
| 5 |
py{311}-sphinx{81,82,90,latest}{-qa} |
| 6 |
py{312,313,314}-sphinx{81,82,90,latest,dev}{-qa} |
| 7 |
|
| 8 |
[testenv] |
| 9 |
setenv = |
| 10 |
LANG=C |
| 11 |
deps = |
| 12 |
. |
| 13 |
pytest |
| 14 |
sphinx60: Sphinx>=6.0,<6.1 |
| 15 |
sphinx61: Sphinx>=6.1,<6.2 |
| 16 |
sphinx62: Sphinx>=6.2,<6.3 |
| 17 |
sphinx70: Sphinx>=7.0,<7.1 |
| 18 |
sphinx71: Sphinx>=7.1,<7.2 |
| 19 |
sphinx72: Sphinx>=7.2,<7.3 |
| 20 |
sphinx80: Sphinx>=8.0,<8.1 |
| 21 |
sphinx81: Sphinx>=8.1,<8.2 |
| 22 |
sphinx82: Sphinx>=8.2,<8.3 |
| 23 |
sphinx90: Sphinx>=9.0,<9.1 |
| 24 |
sphinxlatest: Sphinx |
| 25 |
sphinxdev: https://github.com/sphinx-doc/sphinx/archive/refs/heads/master.zip |
| 26 |
allowlist_externals = |
| 27 |
echo |
| 28 |
commands = |
| 29 |
pytest {posargs} tests/ |
| 30 |
sphinx-build -b html -Dhtml4_writer=0 -d {envtmpdir}/doctrees docs/ {envtmpdir}/html |
| 31 |
echo "Open the following URL for visual testing: file://{envtmpdir}/html/demo/demo.html" |