File: docs-Use-sphinx_rtd_theme-as-html_theme.patch

package info (click to toggle)
python-nh3 0.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 220 kB
  • sloc: python: 100; makefile: 35; sh: 17
file content (26 lines) | stat: -rw-r--r-- 777 bytes parent folder | download | duplicates (2)
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
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Mon, 5 Aug 2024 21:55:38 +0900
Subject: docs: Use sphinx_rtd_theme as html_theme

Shibuya isn't finally packaged so we can't use it, use the default
Sphinx RTD theme for now.

Forwarded: not-needed
---
 docs/conf.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/conf.py b/docs/conf.py
index bb46cf1..1b706b5 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -51,7 +51,8 @@ exclude_patterns = [
 # The theme to use for HTML and HTML Help pages.  See the documentation for
 # a list of builtin themes.
 #
-html_theme = 'shibuya'
+#html_theme = 'shibuya'
+html_theme = 'sphinx_rtd_theme'
 html_theme_options = {
     'page_layout': 'compact',
     'github_url': 'https://github.com/messense/nh3',