sphinx/style: Fix building with the latest sphinx

Tested on sphinx 7.2, 6.1.3 AND 5.3.0

Closes #4980
This commit is contained in:
Chris Johns
2023-12-19 12:31:52 +11:00
parent ddf2b03838
commit e31a0b22fe
2 changed files with 6 additions and 4 deletions

View File

@@ -16,11 +16,9 @@ from waflib.Build import BuildContext
import latex
import conf
# Sphinx >= 6 are currently broken.
# If you do not want to check for a maximum version, set it to None.
sphinx_min_version = (1, 3)
sphinx_max_version = (5, 9)
#sphinx_max_version = None
sphinx_max_version = None
def version_cmdline(ctx):
return '-Drelease="%s" -Dversion="%s" -Drtems_major="%s" ' \