File: 0004-use-the-right-classic-theme-of-sphinx.patch

package info (click to toggle)
guidata 3.13.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,716 kB
  • sloc: python: 20,020; makefile: 17
file content (25 lines) | stat: -rw-r--r-- 732 bytes parent folder | download | duplicates (3)
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
From: =?utf-8?q?Picca_Fr=C3=A9d=C3=A9ric-Emmanuel?=
 <picca@synchrotron-soleil.fr>
Date: Fri, 28 Jul 2023 14:00:00 +0200
Subject: use the right classic theme of sphinx

---
 doc/conf.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/doc/conf.py b/doc/conf.py
index f7297dc..f5ddd91 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -42,10 +42,7 @@ intersphinx_mapping = {
 }
 # nitpicky = True  # Uncomment to warn about all broken links
 
-if "htmlhelp" in sys.argv:
-    html_theme = "classic"
-else:
-    html_theme = "python_docs_theme"
+html_theme = "classic"
 html_title = "%s %s Manual" % (project, version)
 html_short_title = "%s Manual" % project
 html_logo = "images/guidata-vertical.png"