File: 0001-Deactivate-remote-CSS-files-to-prevent-privacy-breac.patch

package info (click to toggle)
python-tinycss2 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 832 kB
  • sloc: python: 2,527; makefile: 21; sh: 6
file content (35 lines) | stat: -rw-r--r-- 1,126 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
From: Michael Fladischer <fladi@debian.org>
Date: Wed, 22 Dec 2021 22:58:27 +0000
Subject: Deactivate remote CSS and favicon files to prevent privacy breach.

Forwarded: not-needed
---
 docs/conf.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index 7f1a22c..84e843a 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -53,7 +53,7 @@ html_theme_options = {
 }
 
 # Favicon URL
-html_favicon = 'https://www.courtbouillon.org/static/images/favicon.png'
+#html_favicon = 'https://www.courtbouillon.org/static/images/favicon.png'
 
 # 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,
@@ -62,9 +62,9 @@ html_static_path = []
 
 # These paths are either relative to html_static_path
 # or fully qualified paths (eg. https://...)
-html_css_files = [
-    'https://www.courtbouillon.org/static/docs.css',
-]
+#html_css_files = [
+#    'https://www.courtbouillon.org/static/docs.css',
+#]
 
 # Output file base name for HTML help builder.
 htmlhelp_basename = 'tinycss2doc'