From 5f84bd56c1bec1d4c5031cc22b4733fd2944c031 Mon Sep 17 00:00:00 2001 From: Zhenyu Yao <111329301+zhenyu-ms@users.noreply.github.com> Date: Wed, 22 Jan 2025 16:36:30 +0800 Subject: [PATCH] Misc/drop sphinx from dependencies (#1179) * pin python version in readthedocs cfg * no joy, we go other way around --- doc/en/conf.py | 4 ++-- doc/newsfragments/3199_changed.drop_sphinx_dependencies.rst | 1 + pyproject.toml | 2 -- 3 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 doc/newsfragments/3199_changed.drop_sphinx_dependencies.rst diff --git a/doc/en/conf.py b/doc/en/conf.py index 9a314a11d..f121d4f90 100644 --- a/doc/en/conf.py +++ b/doc/en/conf.py @@ -39,6 +39,6 @@ def generate_news(): def setup(app): - app.add_stylesheet("icon.css") - app.add_stylesheet("news.css") + app.add_css_file("icon.css") + app.add_css_file("news.css") generate_news() diff --git a/doc/newsfragments/3199_changed.drop_sphinx_dependencies.rst b/doc/newsfragments/3199_changed.drop_sphinx_dependencies.rst new file mode 100644 index 000000000..3566ae4ae --- /dev/null +++ b/doc/newsfragments/3199_changed.drop_sphinx_dependencies.rst @@ -0,0 +1 @@ +Remove Sphinx and other packages for building document from Testplan's dependencies. \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 76a063dd4..8a3efe9cb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,8 +29,6 @@ "Topic :: Software Development :: Testing :: Unit" ] dependencies = [ - "sphinx<2", - "sphinx_rtd_theme", "setuptools", "pytest", "pytest-mock",