File: 0005-Use-fork-awesome-a-Debian-doesn-t-have-font-awesome-.patch

package info (click to toggle)
streamlink 8.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,544 kB
  • sloc: python: 50,915; sh: 184; makefile: 152
file content (44 lines) | stat: -rw-r--r-- 1,634 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
From: Alexis Murzeau <amubtdx@gmail.com>
Date: Fri, 25 Dec 2020 23:27:16 +0100
Subject: Use fork-awesome a Debian doesn't have font-awesome 5

Forwarded: not-needed
Author: Alexis Murzeau <amubtdx@gmail.com>
---
 docs/_static/styles/custom.css | 4 ++--
 docs/conf.py                   | 5 ++---
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/docs/_static/styles/custom.css b/docs/_static/styles/custom.css
index 6c3fa52..bac0698 100644
--- a/docs/_static/styles/custom.css
+++ b/docs/_static/styles/custom.css
@@ -97,10 +97,10 @@ a[href^="https://"]:not(.muted-link):not(.sd-badge):not([href^="https://streamli
 
 a[href^="http://"]:not(.no-external-link-icon):not(.muted-link):not(.sd-badge)::after,
 a[href^="https://"]:not(.no-external-link-icon):not(.muted-link):not(.sd-badge):not([href^="https://streamlink.github.io/"])::after {
-  content: "\f35d";
+  content: "\f08e";
   display: inline-block;
   padding-left: .4em;
-  font: 900 .6em "Font Awesome 6 Free";
+  font: 900 .6em "forkawesome";
   vertical-align: middle;
   text-decoration: none;
 }
diff --git a/docs/conf.py b/docs/conf.py
index 72327b1..b2c7580 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -112,9 +112,8 @@ html_logo = "../icon.svg"
 
 html_css_files = [
     "styles/custom.css",
-    "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/fontawesome.min.css",
-    "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/solid.min.css",
-    "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/brands.min.css",
+    "styles/fork-awesome.css",
+    "styles/v5-compat.css",
 ]
 
 html_static_path = ["_static"]