From: Julian Gilbey <jdg@debian.org>
Date: Mon, 18 Nov 2024 23:51:57 +0100
Subject: Use Sphinx RTD theme rather than unpackaged sphinx-immaterial

Forwarded: not-needed
Last-Update: 2024-11-18
---
 docs/conf.py   | 43 ++++---------------------------------------
 docs/index.rst | 16 ++++++++--------
 2 files changed, 12 insertions(+), 47 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index b2bb534..bfb44ef 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -1,4 +1,5 @@
 import openapi_schema_validator
+import sphinx_rtd_theme
 
 project = "openapi-schema-validator"
 copyright = "2023, Artur Maciag"
@@ -12,52 +13,16 @@ extensions = [
     "sphinx.ext.intersphinx",
     "sphinx.ext.coverage",
     "sphinx.ext.viewcode",
-    "sphinx_immaterial",
+    "sphinx_rtd_theme",
 ]
 
 templates_path = ["_templates"]
 
 exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
 
-html_theme = "sphinx_immaterial"
+html_theme = "sphinx_rtd_theme"
 
 html_static_path = []
 
 html_title = "openapi-schema-validator"
-
-html_theme_options = {
-    "analytics": {
-        "provider": "google",
-        "property": "G-11RDPBZ7EJ",
-    },
-    "repo_url": "https://github.com/python-openapi/openapi-schema-validator/",
-    "repo_name": "openapi-schema-validator",
-    "icon": {
-        "repo": "fontawesome/brands/github-alt",
-        "edit": "material/file-edit-outline",
-    },
-    "palette": [
-        {
-            "media": "(prefers-color-scheme: dark)",
-            "scheme": "slate",
-            "primary": "lime",
-            "accent": "amber",
-            "scheme": "slate",
-            "toggle": {
-                "icon": "material/toggle-switch",
-                "name": "Switch to light mode",
-            },
-        },
-        {
-            "media": "(prefers-color-scheme: light)",
-            "scheme": "default",
-            "primary": "lime",
-            "accent": "amber",
-            "toggle": {
-                "icon": "material/toggle-switch-off-outline",
-                "name": "Switch to dark mode",
-            },
-        },
-    ],
-    "globaltoc_collapse": False,
-}
+html_baseurl = "https://github.com/python-openapi/openapi-schema-validator/"
diff --git a/docs/index.rst b/docs/index.rst
index 1b9b6fe..24b52a6 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -18,19 +18,19 @@ Openapi-schema-validator is a Python library that validates schema against:
 Installation
 ------------
 
-.. md-tab-set::
+Pip + PyPI (recommended)
+^^^^^^^^^^^^^^^^^^^^^^^^
 
-   .. md-tab-item:: Pip + PyPI (recommented)
+   .. code-block:: console
 
-      .. code-block:: console
+      pip install openapi-schema-validator
 
-         pip install openapi-schema-validator
+Pip + the source
+^^^^^^^^^^^^^^^^
 
-   .. md-tab-item:: Pip + the source
+   .. code-block:: console
 
-      .. code-block:: console
-
-         pip install -e git+https://github.com/python-openapi/openapi-schema-validator.git#egg=openapi_schema_validator
+      pip install -e git+https://github.com/python-openapi/openapi-schema-validator.git#egg=openapi_schema_validator
 
 Usage
 -----
