Skip to content

Commit 4592f4f

Browse files
committed
updated image filepaths
1 parent 35e0287 commit 4592f4f

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

adafruit_featherwing/ina219_featherwing.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def __init__(self):
4747
def bus_voltage(self):
4848
"""Bus voltage returns volts.
4949
50-
.. image :: /_static/ina219_featherwing/ina219_featherwing.jpg
50+
.. image :: ../docs/_static/ina219_featherwing/ina219_featherwing.jpg
5151
:alt: INA219 Featherwing
5252
5353
This example prints the bus voltage with the appropriate units.
@@ -70,7 +70,7 @@ def bus_voltage(self):
7070
def shunt_voltage(self):
7171
"""Shunt voltage returns volts.
7272
73-
.. image :: /_static/ina219_featherwing/ina219_featherwing.jpg
73+
.. image :: ../docs/_static/ina219_featherwing/ina219_featherwing.jpg
7474
:alt: INA219 Featherwing
7575
7676
This example prints the shunt voltage with the appropriate units.
@@ -93,7 +93,7 @@ def shunt_voltage(self):
9393
def voltage(self):
9494
"""Voltage, known as load voltage, is bus voltage plus shunt voltage. Returns volts.
9595
96-
.. image :: /_static/ina219_featherwing/ina219_featherwing.jpg
96+
.. image :: ../docs/_static/ina219_featherwing/ina219_featherwing.jpg
9797
:alt: INA219 Featherwing
9898
9999
This example prints the voltage with the appropriate units.
@@ -117,7 +117,7 @@ def voltage(self):
117117
def current(self):
118118
"""Current returns mA.
119119
120-
.. image :: /_static/ina219_featherwing/ina219_featherwing.jpg
120+
.. image :: ../docs/_static/ina219_featherwing/ina219_featherwing.jpg
121121
:alt: INA219 Featherwing
122122
123123
This example prints the current with the appropriate units.

adafruit_featherwing/joy_featherwing.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def __init__(self):
5858
def button_a(self):
5959
"""Joy featherwing button A.
6060
61-
.. image :: /_static/joy_featherwing/joy_featherwing_a.jpg
61+
.. image :: ../docs/_static/joy_featherwing/joy_featherwing_a.jpg
6262
:alt: Joy FeatherWing Button A
6363
6464
This example prints when button A is pressed.
@@ -81,7 +81,7 @@ def button_a(self):
8181
def button_b(self):
8282
"""Joy featherwing button B.
8383
84-
.. image :: /_static/joy_featherwing/joy_featherwing_b.jpg
84+
.. image :: ../docs/_static/joy_featherwing/joy_featherwing_b.jpg
8585
:alt: Joy FeatherWing Button B
8686
8787
This example prints when button B is pressed.
@@ -104,7 +104,7 @@ def button_b(self):
104104
def button_x(self):
105105
"""Joy featherwing button X.
106106
107-
.. image :: /_static/joy_featherwing/joy_featherwing_x.jpg
107+
.. image :: ../docs/_static/joy_featherwing/joy_featherwing_x.jpg
108108
:alt: Joy FeatherWing Button X
109109
110110
This example prints when button X is pressed.
@@ -127,7 +127,7 @@ def button_x(self):
127127
def button_y(self):
128128
"""Joy featherwing button Y.
129129
130-
.. image :: /_static/joy_featherwing/joy_featherwing_y.jpg
130+
.. image :: ../docs/_static/joy_featherwing/joy_featherwing_y.jpg
131131
:alt: Joy FeatherWing Button Y
132132
133133
This example prints when button Y is pressed.
@@ -150,7 +150,7 @@ def button_y(self):
150150
def button_select(self):
151151
"""Joy featherwing button SELECT.
152152
153-
.. image :: /_static/joy_featherwing/joy_featherwing_select.jpg
153+
.. image :: ../docs/_static/joy_featherwing/joy_featherwing_select.jpg
154154
:alt: Joy FeatherWing Button SELECT
155155
156156
This example prints when button SELECT is pressed.
@@ -178,7 +178,7 @@ def _check_button(self, button):
178178
def joystick_offset(self):
179179
"""Offset used to correctly report (0, 0) when the joystick is centered.
180180
181-
.. image :: /_static/joy_featherwing/joy_featherwing_joystick.jpg
181+
.. image :: ../docs/_static/joy_featherwing/joy_featherwing_joystick.jpg
182182
:alt: Joy FeatherWing Joystick
183183
184184
Provide a tuple of (x, y) to set your joystick center to (0, 0).
@@ -220,7 +220,7 @@ def zero_joystick(self):
220220
Note: You must not be touching the joystick at the time of zeroing
221221
for it to be accurate.
222222
223-
.. image :: /_static/joy_featherwing/joy_featherwing_joystick.jpg
223+
.. image :: ../docs/_static/joy_featherwing/joy_featherwing_joystick.jpg
224224
:alt: Joy FeatherWing Joystick
225225
226226
This example zeros the joystick, and prints the coordinates of
@@ -252,7 +252,7 @@ def zero_joystick(self):
252252
def joystick(self):
253253
"""Joy FeatherWing joystick.
254254
255-
.. image :: /_static/joy_featherwing/joy_featherwing_joystick.jpg
255+
.. image :: ../docs/_static/joy_featherwing/joy_featherwing_joystick.jpg
256256
:alt: Joy FeatherWing Joystick
257257
258258
This example zeros the joystick, and prints the coordinates of

adafruit_featherwing/motor_featherwing.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def _motor(self, motor_name, channels, stepper_name):
7070
def motor1(self):
7171
""":py:class:`~adafruit_motor.motor.DCMotor` controls for motor 1.
7272
73-
.. image :: /_static/motor_featherwing/m1.jpg
73+
.. image :: ../docs/_static/motor_featherwing/m1.jpg
7474
:alt: Motor 1 location
7575
7676
This example moves the motor forwards for one fifth of a second at full speed.
@@ -93,7 +93,7 @@ def motor1(self):
9393
def motor2(self):
9494
""":py:class:`~adafruit_motor.motor.DCMotor` controls for motor 2.
9595
96-
.. image :: /_static/motor_featherwing/m2.jpg
96+
.. image :: ../docs/_static/motor_featherwing/m2.jpg
9797
:alt: Motor 2 location
9898
9999
This example moves the motor forwards for one fifth of a second at full speed.
@@ -116,7 +116,7 @@ def motor2(self):
116116
def motor3(self):
117117
""":py:class:`~adafruit_motor.motor.DCMotor` controls for motor 3.
118118
119-
.. image :: /_static/motor_featherwing/m3.jpg
119+
.. image :: ../docs/_static/motor_featherwing/m3.jpg
120120
:alt: Motor 3 location
121121
122122
This example moves the motor forwards for one fifth of a second at full speed.
@@ -139,7 +139,7 @@ def motor3(self):
139139
def motor4(self):
140140
""":py:class:`~adafruit_motor.motor.DCMotor` controls for motor 4.
141141
142-
.. image :: /_static/motor_featherwing/m4.jpg
142+
.. image :: ../docs/_static/motor_featherwing/m4.jpg
143143
:alt: Motor 4 location
144144
145145
This example moves the motor forwards for one fifth of a second at full speed.
@@ -163,7 +163,7 @@ def stepper1(self):
163163
""":py:class:`~adafruit_motor.stepper.StepperMotor` controls for one connected to stepper 1
164164
(also labeled motor 1 and motor 2).
165165
166-
.. image :: /_static/motor_featherwing/stepper1.jpg
166+
.. image :: ../docs/_static/motor_featherwing/stepper1.jpg
167167
:alt: Stepper 1 location
168168
169169
This example moves the stepper motor 100 steps forwards.
@@ -191,7 +191,7 @@ def stepper2(self):
191191
""":py:class:`~adafruit_motor.stepper.StepperMotor` controls for one connected to stepper 2
192192
(also labeled motor 3 and motor 4).
193193
194-
.. image :: /_static/motor_featherwing/stepper2.jpg
194+
.. image :: ../docs/_static/motor_featherwing/stepper2.jpg
195195
:alt: Stepper 2 location
196196
197197
This example moves the stepper motor 100 steps forwards.

0 commit comments

Comments
 (0)