File: 004.no-beeware-theme.patch

package info (click to toggle)
python-briefcase 0.3.25-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,596 kB
  • sloc: python: 62,519; makefile: 60
file content (51 lines) | stat: -rw-r--r-- 1,662 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Description: Don't use a theme we don't have

Reverts an upstream change between 0.3.22 and 0.3.25

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

--- python-briefcase-0.3.25.orig/docs/conf.py
+++ python-briefcase-0.3.25/docs/conf.py
@@ -13,23 +13,6 @@ import os
 import sys
 from importlib.metadata import version as metadata_version
 
-import beeware_theme
-
-# BeeWare theme override for Furo Sphinx theme to add BeeWare features.
-templates_path = []
-html_static_path = []
-html_css_files = []
-html_context = {}
-html_theme_options = {}
-
-beeware_theme.init(
-    project_name="briefcase",
-    templates=templates_path,
-    context=html_context,
-    static=html_static_path,
-    css=html_css_files,
-    theme_options=html_theme_options,
-)
 
 # If extensions (or modules to document with autodoc) are in another directory,
 # add these directories to sys.path here. If the directory is relative to the
@@ -53,7 +36,7 @@ extensions = [
 ]
 
 # Add any paths that contain templates here, relative to this directory.
-# templates_path = ["_templates"]
+templates_path = ["_templates"]
 
 # The suffix of source filenames.
 source_suffix = ".rst"
@@ -214,7 +197,7 @@ html_logo = "_static/images/briefcase.pn
 # Add any paths that contain custom static files (such as style sheets) here,
 # relative to this directory. They are copied after the builtin static files,
 # so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path.append("_static")
+html_static_path = ["_static"]
 
 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
 # using the given strftime format.