diff --git a/doc/en/conf.py b/doc/en/conf.py index f121d4f90..9a314a11d 100644 --- a/doc/en/conf.py +++ b/doc/en/conf.py @@ -39,6 +39,6 @@ def generate_news(): def setup(app): - app.add_css_file("icon.css") - app.add_css_file("news.css") + app.add_stylesheet("icon.css") + app.add_stylesheet("news.css") generate_news() diff --git a/pyproject.toml b/pyproject.toml index 8a3efe9cb..76a063dd4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,6 +29,8 @@ "Topic :: Software Development :: Testing :: Unit" ] dependencies = [ + "sphinx<2", + "sphinx_rtd_theme", "setuptools", "pytest", "pytest-mock",