From 5028000ec4c444259f59c44a248c063ad33e8f41 Mon Sep 17 00:00:00 2001 From: rlskoeser Date: Fri, 19 Jul 2024 17:12:47 -0400 Subject: [PATCH] Switch to newer version of sphinx and sphinx theme --- docs/conf.py | 2 +- docs/index.rst | 2 +- pyproject.toml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 77f65d4..68adc9d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -53,7 +53,7 @@ # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -html_theme = "sphinx_rtd_theme" +html_theme = "alabaster" # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, diff --git a/docs/index.rst b/docs/index.rst index 286bd64..78bce48 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -5,7 +5,7 @@ Undate documentation .. toctree:: - :maxdepth: 3 + :maxdepth: 2 :caption: Contents: readme diff --git a/pyproject.toml b/pyproject.toml index 300f698..dc87e3d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,8 +41,8 @@ classifiers = [ [project.optional-dependencies] docs = [ - "sphinx<7.0.0", - "sphinx_rtd_theme", + "sphinx<=7.0.0", + "alabaster", "m2r2", "setuptools" # required for sphinx to load m2r2 as an extension ]