File: docs-no-version-switch

package info (click to toggle)
python-skbio 0.6.2-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 9,312 kB
  • sloc: python: 60,482; ansic: 672; makefile: 224
file content (29 lines) | stat: -rw-r--r-- 840 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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(-)

diff --git a/doc/source/conf.py b/doc/source/conf.py
index b95320a..35ba02c 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -154,7 +154,7 @@ html_theme_options = {
     'header_links_before_dropdown': 7,
 
     # header layout
-    'navbar_start': ['navbar-logo', 'version-switcher'],
+    'navbar_start': ['navbar-logo'],
 
     # footer layout
     'footer_start': ['copyright'],