diff --git a/docs/conf.py b/docs/conf.py index e8aeade..894c90d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -3,7 +3,12 @@ # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ["sphinx.ext.autodoc", "sphinx.ext.viewcode", "sphinx.ext.intersphinx"] +extensions = [ + "sphinx.ext.autodoc", + "sphinx.ext.viewcode", + "sphinx.ext.intersphinx", + "sphinx_rtd_theme", +] # Add any paths that contain templates here, relative to this directory. templates_path = ["_templates"] @@ -37,7 +42,7 @@ # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = "default" +html_theme = "sphinx_rtd_theme" # 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/pyproject.toml b/pyproject.toml index 67cb62f..1e0c04d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,7 @@ dev = [ ] docs = [ "sphinx >=7.2.6, <8.0.0", - "sphinx-rtd-theme >=2.0.0, <3.0.0", + "sphinx-rtd-theme>=2.0.0,<3.0.0", "sphinx-autodoc-typehints >=1.25.2, <2.0.0", ]