Skip to content

Commit 46919d9

Browse files
committed
sphinx fix; image file paths
1 parent 5ae4ab8 commit 46919d9

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

adafruit_circuitplayground/express.py

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def detect_taps(self):
131131
"""Configure what type of tap is detected by ``cpx.tapped``. Use ``1`` for single-tap
132132
detection and ``2`` for double-tap detection. This does nothing without ``cpx.tapped``.
133133
134-
.. image :: /docs/_static/accelerometer.jpg
134+
.. image :: ../docs/_static/accelerometer.jpg
135135
:alt: Accelerometer
136136
137137
.. code-block:: python
@@ -160,7 +160,7 @@ def detect_taps(self, value):
160160
def tapped(self):
161161
"""True once after a detecting a tap. Requires ``cpx.detect_taps``.
162162
163-
.. image :: /docs/_static/accelerometer.jpg
163+
.. image :: ../docs/_static/accelerometer.jpg
164164
:alt: Accelerometer
165165
166166
Tap the CPX once for a single-tap, or quickly tap twice for a double-tap.
@@ -215,7 +215,7 @@ def tapped(self):
215215
def acceleration(self):
216216
"""Obtain data from the x, y and z axes.
217217
218-
.. image :: /docs/_static/accelerometer.jpg
218+
.. image :: ../docs/_static/accelerometer.jpg
219219
:alt: Accelerometer
220220
221221
This example prints the values. Try moving the board to see how the
@@ -236,7 +236,7 @@ def shake(self, shake_threshold=30):
236236
237237
:param int shake_threshold: The threshold shake must exceed to return true (Default: 30)
238238
239-
.. image :: /docs/_static/accelerometer.jpg
239+
.. image :: ../docs/_static/accelerometer.jpg
240240
:alt: Accelerometer
241241
242242
.. code-block:: python
@@ -271,7 +271,7 @@ def shake(self, shake_threshold=30):
271271
def touch_A1(self): # pylint: disable=invalid-name
272272
"""Detect touch on capacitive touch pad A1.
273273
274-
.. image :: /docs/_static/capacitive_touch_pad_A1.jpg
274+
.. image :: ../docs/_static/capacitive_touch_pad_A1.jpg
275275
:alt: Capacitive touch pad A1
276276
277277
.. code-block:: python
@@ -291,7 +291,7 @@ def touch_A1(self): # pylint: disable=invalid-name
291291
def touch_A2(self): # pylint: disable=invalid-name
292292
"""Detect touch on capacitive touch pad A2.
293293
294-
.. image :: /docs/_static/capacitive_touch_pad_A2.jpg
294+
.. image :: ../docs/_static/capacitive_touch_pad_A2.jpg
295295
:alt: Capacitive touch pad A2
296296
297297
.. code-block:: python
@@ -311,7 +311,7 @@ def touch_A2(self): # pylint: disable=invalid-name
311311
def touch_A3(self): # pylint: disable=invalid-name
312312
"""Detect touch on capacitive touch pad A3.
313313
314-
.. image :: /docs/_static/capacitive_touch_pad_A3.jpg
314+
.. image :: ../docs/_static/capacitive_touch_pad_A3.jpg
315315
:alt: Capacitive touch pad A3
316316
317317
.. code-block:: python
@@ -331,7 +331,7 @@ def touch_A3(self): # pylint: disable=invalid-name
331331
def touch_A4(self): # pylint: disable=invalid-name
332332
"""Detect touch on capacitive touch pad A4.
333333
334-
.. image :: /docs/_static/capacitive_touch_pad_A4.jpg
334+
.. image :: ../docs/_static/capacitive_touch_pad_A4.jpg
335335
:alt: Capacitive touch pad A4
336336
337337
.. code-block:: python
@@ -351,7 +351,7 @@ def touch_A4(self): # pylint: disable=invalid-name
351351
def touch_A5(self): # pylint: disable=invalid-name
352352
"""Detect touch on capacitive touch pad A5.
353353
354-
.. image :: /docs/_static/capacitive_touch_pad_A5.jpg
354+
.. image :: ../docs/_static/capacitive_touch_pad_A5.jpg
355355
:alt: Capacitive touch pad A5
356356
357357
.. code-block:: python
@@ -371,7 +371,7 @@ def touch_A5(self): # pylint: disable=invalid-name
371371
def touch_A6(self): # pylint: disable=invalid-name
372372
"""Detect touch on capacitive touch pad A6.
373373
374-
.. image :: /docs/_static/capacitive_touch_pad_A6.jpg
374+
.. image :: ../docs/_static/capacitive_touch_pad_A6.jpg
375375
:alt: Capacitive touch pad A6
376376
377377
.. code-block:: python
@@ -391,7 +391,7 @@ def touch_A6(self): # pylint: disable=invalid-name
391391
def touch_A7(self): # pylint: disable=invalid-name
392392
"""Detect touch on capacitive touch pad A7.
393393
394-
.. image :: /docs/_static/capacitive_touch_pad_A7.jpg
394+
.. image :: ../docs/_static/capacitive_touch_pad_A7.jpg
395395
:alt: Capacitive touch pad A7
396396
397397
.. code-block:: python
@@ -413,7 +413,7 @@ def adjust_touch_threshold(self, adjustment):
413413
414414
:param int adjustment: The desired threshold increase
415415
416-
.. image :: /docs/_static/capacitive_touch_pads.jpg
416+
.. image :: ../docs/_static/capacitive_touch_pads.jpg
417417
:alt: Capacitive touch pads
418418
419419
.. code-block:: python
@@ -443,7 +443,7 @@ def pixels(self):
443443
444444
See `neopixel.NeoPixel` for more info.
445445
446-
.. image :: /docs/_static/neopixel_numbering.jpg
446+
.. image :: ../docs/_static/neopixel_numbering.jpg
447447
:alt: NeoPixel order diagram
448448
449449
Here is an example that sets the first pixel green and the second red.
@@ -466,7 +466,7 @@ def pixels(self):
466466
def button_a(self):
467467
"""``True`` when Button A is pressed. ``False`` if not.
468468
469-
.. image :: /docs/_static/button_a.jpg
469+
.. image :: ../docs/_static/button_a.jpg
470470
:alt: Button A
471471
472472
.. code-block:: python
@@ -483,7 +483,7 @@ def button_a(self):
483483
def button_b(self):
484484
"""``True`` when Button B is pressed. ``False`` if not.
485485
486-
.. image :: /docs/_static/button_b.jpg
486+
.. image :: ../docs/_static/button_b.jpg
487487
:alt: Button B
488488
489489
.. code-block:: python
@@ -502,7 +502,7 @@ def switch(self):
502502
``True`` when the switch is to the left next to the music notes.
503503
``False`` when it is to the right towards the ear.
504504
505-
.. image :: /docs/_static/slide_switch.jpg
505+
.. image :: ../docs/_static/slide_switch.jpg
506506
:alt: Slide switch
507507
508508
.. code-block:: python
@@ -520,7 +520,7 @@ def switch(self):
520520
def temperature(self):
521521
"""The temperature of the CircuitPlayground in Celsius.
522522
523-
.. image :: /docs/_static/thermistor.jpg
523+
.. image :: ../docs/_static/thermistor.jpg
524524
:alt: Temperature sensor
525525
526526
Converting this to Farenheit is easy!
@@ -543,7 +543,7 @@ def temperature(self):
543543
def light(self):
544544
"""The brightness of the CircuitPlayground in approximate Lux.
545545
546-
.. image :: /docs/_static/light_sensor.jpg
546+
.. image :: ../docs/_static/light_sensor.jpg
547547
:alt: Light sensor
548548
549549
Try covering the sensor next to the eye to see it change.
@@ -563,7 +563,7 @@ def light(self):
563563
def red_led(self):
564564
"""The red led next to the USB plug marked D13.
565565
566-
.. image :: /docs/_static/red_led.jpg
566+
.. image :: ../docs/_static/red_led.jpg
567567
:alt: D13 LED
568568
569569
.. code-block:: python
@@ -604,7 +604,7 @@ def play_tone(self, frequency, duration):
604604
:param int frequency: The frequency of the tone in Hz
605605
:param float duration: The duration of the tone in seconds
606606
607-
.. image :: /docs/_static/speaker.jpg
607+
.. image :: ../docs/_static/speaker.jpg
608608
:alt: Onboard speaker
609609
610610
.. code-block:: python
@@ -624,7 +624,7 @@ def start_tone(self, frequency):
624624
625625
:param int frequency: The frequency of the tone in Hz
626626
627-
.. image :: /docs/_static/speaker.jpg
627+
.. image :: ../docs/_static/speaker.jpg
628628
:alt: Onboard speaker
629629
630630
.. code-block:: python
@@ -649,7 +649,7 @@ def start_tone(self, frequency):
649649
def stop_tone(self):
650650
""" Use with start_tone to stop the tone produced.
651651
652-
.. image :: /docs/_static/speaker.jpg
652+
.. image :: ../docs/_static/speaker.jpg
653653
:alt: Onboard speaker
654654
655655
.. code-block:: python
@@ -674,7 +674,7 @@ def play_file(self, file_name):
674674
675675
:param file_name: The name of your .wav file in quotation marks including .wav
676676
677-
.. image :: /docs/_static/speaker.jpg
677+
.. image :: ../docs/_static/speaker.jpg
678678
:alt: Onboard speaker
679679
680680
.. code-block:: python

0 commit comments

Comments
 (0)