EmbedAPI: make tests to work with docutils 0.16 and 0.17
#
# NOTE: Sphinx 1.8 and 2.0 are not tested anymore because of some
# incompatibilities with Python 3.10 and sphinxcontrib-bibtex
-envlist = sphinx-{21,22,23,24,30,31,32,33,34,42,43,44,45,50,latest}
+envlist = sphinx-{21,22,23,24,30,31,32,33,34,42,43,44,45,50,latest,24-docutils-016,34-docutils-017}
[testenv]
description = run test suite for the EmbedAPIv3
@@ -31,6 +31,10 @@ deps =
sphinx-45: Sphinx~=4.5.0
sphinx-50: Sphinx~=5.0.0
sphinx-latest: Sphinx
+ # Keep at least one Sphinx version with docutils 0.16 and 0.17 since the
+ # HTML generated changes a little between them
+ sphinx-24-docutils-016: Sphinx~=2.4.0 docutils==0.16
+ sphinx-34-docutils-017: Sphinx~=3.4.0 docutils==0.17
sphinxcontrib-bibtex~=2.3.0
jinja2<3.1.0
setenv =
