File: 0004-Fix-privacy-breach.patch

package info (click to toggle)
satpy 0.55.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 38,432 kB
  • sloc: python: 89,849; xml: 820; makefile: 150; javascript: 23
file content (65 lines) | stat: -rw-r--r-- 2,915 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
56
57
58
59
60
61
62
63
64
65
From: Antonio Valentino <antonio.valentino@tiscali.it>
Date: Sat, 6 Aug 2022 14:55:46 +0000
Subject: Fix privacy breach

Forwarded: not-needed
---
 doc/source/conf.py       | 10 ++++++----
 doc/source/modifiers.rst |  6 +++---
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/doc/source/conf.py b/doc/source/conf.py
index e3657e3..b0893d0 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -209,13 +209,15 @@ html_static_path = ["_static"]
 
 html_css_files = [
     "theme_overrides.css",  # override wide tables in RTD theme
-    # "https://cdn.datatables.net/v/dt/dt-2.0.0/datatables.min.css",
-    "https://cdn.datatables.net/v/dt/dt-2.0.8/r-3.0.2/datatables.min.css"
+    # # "https://cdn.datatables.net/v/dt/dt-2.0.0/datatables.min.css",
+    # "https://cdn.datatables.net/v/dt/dt-2.0.8/r-3.0.2/datatables.min.css"
+    "file:///usr/share/javascript/jquery-datatables/css/jquery.dataTables.min.css",
 ]
 
 html_js_files = [
-    # "https://cdn.datatables.net/v/dt/dt-2.0.0/datatables.min.js",
-    "https://cdn.datatables.net/v/dt/dt-2.0.8/r-3.0.2/datatables.min.js",
+    # # "https://cdn.datatables.net/v/dt/dt-2.0.0/datatables.min.js",
+    # "https://cdn.datatables.net/v/dt/dt-2.0.8/r-3.0.2/datatables.min.js",
+    "file:///usr/share/javascript/jquery-datatables/jquery.dataTables.min.js",
     "main.js",
 ]
 
diff --git a/doc/source/modifiers.rst b/doc/source/modifiers.rst
index 4869fe9..03c4d4d 100644
--- a/doc/source/modifiers.rst
+++ b/doc/source/modifiers.rst
@@ -96,7 +96,7 @@ cloud is shifted toward the observer, it may occupy less pixels than before,
 because pixels closer to the observer have a smaller surface area.  It can
 also be deformed (a "rectangular" cloud may get the shape of a parallelogram).
 
-.. figure:: https://figshare.com/ndownloader/files/36422616/preview/36422616/preview.jpg
+.. figure:: ../../debian/images/36422616/preview.jpg
    :width: 512
    :height: 512
    :alt: Satellite image without parallax correction.
@@ -105,7 +105,7 @@ also be deformed (a "rectangular" cloud may get the shape of a parallelogram).
    This is the ``natural_color`` composite as built into Satpy.
 
 
-.. figure:: https://figshare.com/ndownloader/files/36422613/preview/36422613/preview.jpg
+.. figure:: ../../debian/images/36422613/preview.jpg
    :width: 512
    :height: 512
    :alt: Satellite image with parallax correction.
@@ -118,7 +118,7 @@ also be deformed (a "rectangular" cloud may get the shape of a parallelogram).
 
 The utility function :func:`~satpy.modifiers.parallax.get_surface_parallax_displacement` allows to calculate the magnitude of the parallax error.  For a cloud with a cloud top height of 10 km:
 
-.. figure:: https://figshare.com/ndownloader/files/36462435/preview/36462435/preview.jpg
+.. figure:: ../../debian/images/36462435/preview.jpg
    :width: 512
    :height: 512
    :alt: Figure showing magnitude of parallax effect.