From: "Michael R. Crusoe" <crusoe@debian.org>
Date: Tue, 25 Jun 2024 11:39:43 +0200
Subject: Skip the version switcher

Forwarded: not-needed

We only build one version, without this patch we get the following error:

writing output... [  0%] alignment
Theme error:
An error happened in rendering the page alignment.
Reason: TemplateNotFound('version-switcher.html')
---
 doc/source/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- python-skbio.orig/doc/source/conf.py
+++ python-skbio/doc/source/conf.py
@@ -149,12 +149,6 @@
     # show warning if not latest stable version
     # 'show_version_warning_banner': True,
 
-    # version switcher
-    'switcher': {
-        'json_url': f'{html_baseurl}/versions.json',
-        'version_match': doc_dir,
-    },
-
     # simplify section navigation
     'navigation_depth': 2,
     'collapse_navigation': True,
@@ -163,7 +157,7 @@
     'header_links_before_dropdown': 7,
 
     # header layout
-    'navbar_start': ['navbar-logo', 'version-switcher'],
+    'navbar_start': ['navbar-logo'],
 
     # footer layout
     'footer_start': ['copyright'],
