File: 0008-Avoid-using-the-better-sphinx-theme.patch

package info (click to toggle)
python-pgpy 0.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,096 kB
  • sloc: python: 8,421; makefile: 155; sh: 10
file content (33 lines) | stat: -rw-r--r-- 1,111 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
27
28
29
30
31
32
33
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Date: Fri, 23 Feb 2018 16:13:58 -0800
Subject: Avoid using the "better" sphinx theme

Until https://bugs.debian.org/891271 is resolved, we'll just make the
documentation with the default sphinx theme of alabaster.
---
 docs/source/conf.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/docs/source/conf.py b/docs/source/conf.py
index 32ee0f3..72173df 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -15,8 +15,6 @@
 
 import sys
 import os
-# this needs sphinx-better-theme
-from better import better_theme_path
 from setuptools.config import read_configuration
 
 # If extensions (or modules to document with autodoc) are in another directory,
@@ -130,8 +128,7 @@ numpydoc_show_class_members = False
 # The theme to use for HTML and HTML Help pages.  See the documentation for
 # a list of builtin themes.
 # html_theme = 'default'
-html_theme = 'better'
-html_theme_path = [better_theme_path]
+html_theme = 'alabaster'
 html4_writer = True
 
 # Theme options are theme-specific and customize the look and feel of a theme