Skip to content

Commit 47f349e

Browse files
committed
docs: Fix links to images and other parts of the docs.
1 parent c92ef36 commit 47f349e

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

docs/quickref.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
.. _quickref:
2+
13
Quick reference for the pyboard
2-
=====================================
4+
===============================
35

46
.. image:: http://micropython.org/static/resources/pybv10-pinout.jpg
57
:alt: AMP skin

docs/tutorial/fading_led.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ Connecting Things Up
2020

2121
For this tutorial, we will use the ``X1`` pin. Connect one end of the resistor to ``X1``, and the other end to the **anode** of the LED, which is the longer leg. Connect the **cathode** of the LED to ground.
2222

23-
.. image:: https://raw.githubusercontent.com/freespace/micropython/master/docs/tutorial/imgs/fading_leds_breadboard_fritzing.png
23+
.. image:: img/fading_leds_breadboard_fritzing.png
2424

2525
Code
2626
====
27-
By examining the `quick reference <http://docs.micropython.org/en/latest/quickref.html>`_, we see that ``X1`` is connected to channel 1 of timer 5 (``TIM5 CH1``). Therefore we will first create a ``Timer`` object for timer 5, then create a ``TimerChannel`` object for channel 1::
27+
By examining the :ref:`quickref`, we see that ``X1`` is connected to channel 1 of timer 5 (``TIM5 CH1``). Therefore we will first create a ``Timer`` object for timer 5, then create a ``TimerChannel`` object for channel 1::
2828
2929
from pyb import Timer
3030
from timer import sleep

docs/tutorial/imgs/fading_leds_breadboard_fritzing.png renamed to docs/tutorial/img/fading_leds_breadboard_fritzing.png

File renamed without changes.

docs/tutorial/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,6 @@ Tutorials requiring extra components
3131
:numbered:
3232

3333
servo.rst
34+
fading_led.rst
3435
lcd_skin.rst
3536
amp_skin.rst

0 commit comments

Comments
 (0)