From: Sandro Tosi <morph@debian.org>
Date: Sun, 3 Dec 2023 11:24:19 -0400
Subject: Disable unsupported add-ons in documentation

Forwarded: not-needed
---
 doc/source/conf.py              | 6 +-----
 doc/source/release/template.rst | 2 +-
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/doc/source/conf.py b/doc/source/conf.py
index f202baa..6d9ecd5 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -97,7 +97,6 @@ extensions = [
     'sphinx_copybutton',
     'sphinx_design',
     'sphinx.ext.imgconverter',
-    'jupyterlite_sphinx',
 ]
 
 skippable_extensions = [
@@ -261,9 +260,6 @@ html_theme_options = {
     "header_links_before_dropdown": 6,
     # Add light/dark mode and documentation version switcher:
     "navbar_end": [
-        "search-button",
-        "theme-switcher",
-        "version-switcher",
         "navbar-icon-links"
     ],
     "navbar_persistent": [],
@@ -271,7 +267,7 @@ html_theme_options = {
         "version_match": switcher_version,
         "json_url": "https://numpy.org/doc/_static/versions.json",
     },
-    "show_version_warning_banner": True,
+    "show_version_warning_banner": False,
 }
 
 html_title = f"{project} v{version} Manual"
diff --git a/doc/source/release/template.rst b/doc/source/release/template.rst
index a3364da..76ac0c9 100644
--- a/doc/source/release/template.rst
+++ b/doc/source/release/template.rst
@@ -18,4 +18,4 @@ Highlights
 
 .. **Content from release note snippets in doc/release/upcoming_changes:**
 
-.. include:: notes-towncrier.rst
+ .. include:: notes-towncrier.rst
