Skip to content

Commit b467b46

Browse files
docs: Fix heading level for multiple pages. (bbcmicrobit#757)
Things like examples should be a h2, instead of a h3 inside another h2 section.
1 parent de00471 commit b467b46

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docs/accelerometer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Functions
8484
:param value: New range for the accelerometer, an integer in ``g``.
8585

8686
Examples
87-
--------
87+
========
8888

8989
A fortune telling magic 8-ball. Ask a question then shake the device for an
9090
answer.

docs/i2c.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Functions
5151

5252

5353
Connecting
54-
----------
54+
==========
5555

5656
You should connect the device's ``SCL`` pin to micro:bit pin 19, and the
5757
device's ``SDA`` pin to micro:bit pin 20. You also must connect the device's

docs/music.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Functions
128128
* ``octave = 4``
129129

130130
Built in Melodies
131-
-----------------
131+
=================
132132

133133
For the purposes of education and entertainment, the module contains several
134134
example tunes that are expressed as Python lists. They can be used like this::
@@ -165,7 +165,7 @@ They are:
165165
* ``POWER_DOWN`` - a sad fanfare to indicate an achievement lost.
166166

167167
Example
168-
-------
168+
=======
169169

170170
.. include:: ../examples/music.py
171171
:code: python

docs/radio.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Functions
169169

170170

171171
Examples
172-
--------
172+
========
173173

174174
.. include:: ../examples/radio.py
175175
:code: python

0 commit comments

Comments
 (0)