Package: groonga / 15.0.4+dfsg-2

python3-pydata-sphinx-theme-0.7.2.patch Patch series | 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
From: Kentaro Hayashi <kenhys@gmail.com>
Date: Thu, 2 Feb 2023 20:17:18 +0900
Subject: Do not use unsupported options for python3-pydata-sphinx-theme

Description: Support python3-pydata-sphinx-theme 0.7.2
Author: Kentaro Hayashi <kenhys@xdump.org>
Forwarded: not-needed


Signed-off-by: Kentaro Hayashi <kenhys@gmail.com>
---
 doc/source/conf.py | 26 ++++++++++++--------------
 1 file changed, 12 insertions(+), 14 deletions(-)

diff --git a/doc/source/conf.py b/doc/source/conf.py
index 4816feb..39aafb7 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -186,9 +186,9 @@ else:
   use_edit_page_button = False
 
 html_theme_options = {
-  "logo": {
-    "link": f"https://groonga.org{language_prefix}",
-  },
+  # "logo": {
+  #   "link": f"https://groonga.org{language_prefix}",
+  # },
   "github_url": "https://github.com/groonga/groonga",
   "twitter_url": "https://twitter.com/groonga",
   "icon_links": [
@@ -198,23 +198,21 @@ html_theme_options = {
       "icon": "fas fa-blog",
     },
   ],
-  "switcher": {
-    # "json_url": "/_static/switcher.json",
-    "json_url": "https://groonga.org/docs/_static/switcher.json",
-    "version_match": switcher_version,
-  },
+  # "switcher": {
+  #   # "json_url": "/_static/switcher.json",
+  #   "json_url": "https://groonga.org/docs/_static/switcher.json",
+  #   "version_match": switcher_version,
+  # },
   "navbar_center": [
   ],
   "navbar_end": [
-    "theme-switcher.html",
+  # "theme-switcher.html",
     "navbar-icon-links.html",
-    "version-switcher.html",
+  # "version-switcher.html",
   ],
   "use_edit_page_button": use_edit_page_button,
-  "analytics": {
-    "google_analytics_id": "UA-7532323-1"
-  },
-  "show_nav_level": 2,
+  # "google_analytics_id": "UA-7532323-1",
+  # "show_nav_level": 2,
 }
 
 html_context = {