Skip to content

Commit ad4fb62

Browse files
committed
docs/pyboard: Fix to use Sphinx style for internal/external links.
1 parent 40a7e8c commit ad4fb62

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

docs/pyboard/tutorial/servo.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Controlling hobby servo motors
33

44
There are 4 dedicated connection points on the pyboard for connecting up
55
hobby servo motors (see eg
6-
[Wikipedia](http://en.wikipedia.org/wiki/Servo_%28radio_control%29)).
6+
`Wikipedia <http://en.wikipedia.org/wiki/Servo_%28radio_control%29>`__).
77
These motors have 3 wires: ground, power and signal. On the pyboard you
88
can connect them in the bottom right corner, with the signal pin on the
99
far right. Pins X1, X2, X3 and X4 are the 4 dedicated servo signal pins.

docs/pyboard/tutorial/switch.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _pyboard_tutorial_switch:
2+
13
The Switch, callbacks and interrupts
24
====================================
35

docs/pyboard/tutorial/timer.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ Timer callbacks
5050
---------------
5151

5252
The next thing we can do is register a callback function for the timer to
53-
execute when it triggers (see the [switch tutorial](tut-switch) for an
54-
introduction to callback functions)::
53+
execute when it triggers (see the :ref:`switch tutorial <pyboard_tutorial_switch>`
54+
for an introduction to callback functions)::
5555

5656
>>> tim.callback(lambda t:pyb.LED(1).toggle())
5757

0 commit comments

Comments
 (0)