File: 0005-avoid-aiohttp-theme.patch

package info (click to toggle)
python-aiohttp 3.12.15-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 16,900 kB
  • sloc: python: 61,659; ansic: 20,773; makefile: 396; sh: 3
file content (55 lines) | stat: -rw-r--r-- 1,852 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
52
53
54
55
From: Colin Watson <cjwatson@debian.org>
Date: Wed, 14 Aug 2024 18:11:32 +0100
Subject: Don't use aiohttp_theme

It isn't currently packaged in Debian.
---
 docs/conf.py | 28 +---------------------------
 1 file changed, 1 insertion(+), 27 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index ad7138e..b2faaf5 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -179,7 +179,7 @@ extlinks = {
 
 # The theme to use for HTML and HTML Help pages.  See the documentation for
 # a list of builtin themes.
-html_theme = "aiohttp_theme"
+html_theme = "alabaster"
 
 # Theme options are theme-specific and customize the look and feel of a theme
 # further.  For a list of options available for each theme, see the
@@ -192,32 +192,6 @@ html_theme_options = {
     "github_button": False,
     "github_type": "star",
     "github_banner": False,
-    "badges": [
-        {
-            "image": f"{github_repo_url}/workflows/CI/badge.svg",
-            "target": f"{github_repo_url}/actions?query=workflow%3ACI",
-            "height": "20",
-            "alt": "Azure Pipelines CI status",
-        },
-        {
-            "image": f"https://codecov.io/github/{github_repo_slug}/coverage.svg?branch=master",
-            "target": f"https://codecov.io/github/{github_repo_slug}",
-            "height": "20",
-            "alt": "Code coverage status",
-        },
-        {
-            "image": f"https://badge.fury.io/py/{project}.svg",
-            "target": f"https://badge.fury.io/py/{project}",
-            "height": "20",
-            "alt": "Latest PyPI package version",
-        },
-        {
-            "image": "https://badges.gitter.im/Join%20Chat.svg",
-            "target": f"https://gitter.im/{github_repo_org}/Lobby",
-            "height": "20",
-            "alt": "Chat on Gitter",
-        },
-    ],
 }
 
 html_css_files = [