File: 0003-docs-Fix-privacy-breach-generic.patch

package info (click to toggle)
micropython 1.26.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 50,196 kB
  • sloc: ansic: 324,551; python: 63,215; xml: 4,241; makefile: 3,618; sh: 1,586; javascript: 754; asm: 723; cpp: 83; exp: 11; pascal: 6
file content (121 lines) | stat: -rw-r--r-- 4,964 bytes parent folder | download | duplicates (2)
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
From 7dbe0b66b217e4c25f201abbe50da6417ca56da4 Mon Sep 17 00:00:00 2001
From: yangfl <yangfl@users.noreply.github.com>
Date: Mon, 4 Jan 2021 23:05:30 +0800
Subject: [PATCH 3/8] docs: Fix privacy-breach-generic

---
 docs/library/lcd160cr.rst               | 4 +---
 docs/pyboard/quickref.rst               | 4 +---
 docs/pyboard/tutorial/amp_skin.rst      | 4 +---
 docs/pyboard/tutorial/fading_led.rst    | 2 +-
 docs/pyboard/tutorial/lcd160cr_skin.rst | 4 +---
 docs/pyboard/tutorial/lcd_skin.rst      | 4 +---
 docs/wipy/quickref.rst                  | 4 +---
 7 files changed, 7 insertions(+), 19 deletions(-)

diff --git a/docs/library/lcd160cr.rst b/docs/library/lcd160cr.rst
index 25903eb22..01d43b252 100644
--- a/docs/library/lcd160cr.rst
+++ b/docs/library/lcd160cr.rst
@@ -6,9 +6,7 @@
 
 This module provides control of the MicroPython LCD160CR display.
 
-.. image:: http://micropython.org/resources/LCD160CRv10-persp.jpg
-    :alt: LCD160CRv1.0 picture
-    :width: 640px
+`LCD160CRv1.0 picture <http://micropython.org/resources/LCD160CRv10-persp.jpg>`__
 
 Further resources are available via the following links:
 
diff --git a/docs/pyboard/quickref.rst b/docs/pyboard/quickref.rst
index 52ddc29b1..7e4c39419 100644
--- a/docs/pyboard/quickref.rst
+++ b/docs/pyboard/quickref.rst
@@ -11,9 +11,7 @@ or `PYBLITEv1.0 <http://micropython.org/resources/pyblitev10-pinout.jpg>`__.
 
 .. only:: not latex
 
-   .. image:: http://micropython.org/resources/pybv11-pinout.jpg
-      :alt: PYBv1.1 pinout
-      :width: 700px
+   `PYBv1.1 pinout <http://micropython.org/resources/pybv11-pinout.jpg>`__
 
 .. only:: latex
 
diff --git a/docs/pyboard/tutorial/amp_skin.rst b/docs/pyboard/tutorial/amp_skin.rst
index b6558959e..a2ab3914a 100644
--- a/docs/pyboard/tutorial/amp_skin.rst
+++ b/docs/pyboard/tutorial/amp_skin.rst
@@ -13,9 +13,7 @@ Soldering and using the AMP audio skin.
 
 The following video shows how to solder the headers, microphone and speaker onto the AMP skin.
 
-.. raw:: html
-
-    <iframe style="margin-left:3em;" width="560" height="315" src="http://www.youtube.com/embed/fjB1DuZRveo?rel=0" frameborder="0" allowfullscreen></iframe>
+`Micro Python Audio skin - soldering tutorial <http://www.youtube.com/embed/fjB1DuZRveo?rel=0>`__
 
 For circuit schematics and datasheets for the components on the skin see :ref:`hardware_index`.
 
diff --git a/docs/pyboard/tutorial/fading_led.rst b/docs/pyboard/tutorial/fading_led.rst
index 79648bee1..007d5a164 100644
--- a/docs/pyboard/tutorial/fading_led.rst
+++ b/docs/pyboard/tutorial/fading_led.rst
@@ -5,7 +5,7 @@ In addition to turning LEDs on and off, it is also possible to control the brigh
 
 .. only:: not latex
 
-   .. image:: http://upload.wikimedia.org/wikipedia/commons/a/a9/Fade.gif
+  `Fade <http://upload.wikimedia.org/wikipedia/commons/a/a9/Fade.gif>`__
 
 Components
 ----------
diff --git a/docs/pyboard/tutorial/lcd160cr_skin.rst b/docs/pyboard/tutorial/lcd160cr_skin.rst
index a0fe88a2e..358aa6936 100644
--- a/docs/pyboard/tutorial/lcd160cr_skin.rst
+++ b/docs/pyboard/tutorial/lcd160cr_skin.rst
@@ -3,9 +3,7 @@ The LCD160CR skin
 
 This tutorial shows how to get started using the LCD160CR skin.
 
-.. image:: http://micropython.org/resources/LCD160CRv10-positions.jpg
-    :alt: LCD160CRv1.0 picture
-    :width: 800px
+`LCD160CRv1.0 picture <http://micropython.org/resources/LCD160CRv10-positions.jpg>`__
 
 For detailed documentation of the driver for the display see the
 :mod:`lcd160cr` module.
diff --git a/docs/pyboard/tutorial/lcd_skin.rst b/docs/pyboard/tutorial/lcd_skin.rst
index 4df004160..f94deeda6 100644
--- a/docs/pyboard/tutorial/lcd_skin.rst
+++ b/docs/pyboard/tutorial/lcd_skin.rst
@@ -14,9 +14,7 @@ Soldering and using the LCD and touch-sensor skin.
 The following video shows how to solder the headers onto the LCD skin.
 At the end of the video, it shows you how to correctly connect the LCD skin to the pyboard.
 
-.. raw:: html
-
-    <iframe style="margin-left:3em;" width="560" height="315" src="http://www.youtube.com/embed/PowCzdLYbFM?rel=0" frameborder="0" allowfullscreen></iframe>
+`Micro Python - LCD skin soldering tutorial <http://www.youtube.com/embed/PowCzdLYbFM?rel=0>`__
 
 For circuit schematics and datasheets for the components on the skin see :ref:`hardware_index`.
 
diff --git a/docs/wipy/quickref.rst b/docs/wipy/quickref.rst
index 9068ee8a3..e2d2e4249 100644
--- a/docs/wipy/quickref.rst
+++ b/docs/wipy/quickref.rst
@@ -3,9 +3,7 @@
 Quick reference for the WiPy
 ============================
 
-.. image:: https://raw.githubusercontent.com/wipy/wipy/master/docs/PinOUT.png
-    :alt: WiPy pinout and alternate functions table
-    :width: 800px
+`WiPy pinout and alternate functions table <https://raw.githubusercontent.com/wipy/wipy/master/docs/PinOUT.png>`__
 
 Below is a quick reference for CC3200/WiPy.  If it is your first time
 working with this board please consider reading the following sections first:
-- 
2.47.2