From 90214c2d2f50f36b24f9f5d6bbf0e7e339f15b87 Mon Sep 17 00:00:00 2001 From: Sebastian Bank Date: Mon, 7 Aug 2023 19:37:32 +0200 Subject: [PATCH] fix broken doc building on readthedocs - UndefinedError("'style' is undefined") - https://github.com/readthedocs/sphinx_rtd_theme/issues/1463 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index a974636..c46f411 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ extras_require={ 'dev': ['tox>=3', 'flake8', 'pep8-naming', 'wheel', 'twine'], 'test': ['pytest>=7', 'pytest-cov'], - 'docs': ['sphinx>=5', 'sphinx-autodoc-typehints', 'sphinx-rtd-theme'], + 'docs': ['sphinx>=5,<7', 'sphinx-autodoc-typehints', 'sphinx-rtd-theme'], }, long_description=pathlib.Path('README.rst').read_text(encoding='utf-8'), long_description_content_type='text/x-rst',