doc: Use new Sphinx extension for code samples
Use the new code-sample directive and roles in a few places to demonstrate how it works. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
e7829752ae
commit
5832f6ed5f
9 changed files with 33 additions and 28 deletions
|
@ -25,8 +25,8 @@ Requirements
|
|||
************
|
||||
|
||||
* Two boards with Bluetooth Low Energy support
|
||||
* Two boards with a push button connected via a GPIO pin, see :ref:`Button
|
||||
sample <button-sample>` for more details
|
||||
* Two boards with a push button connected via a GPIO pin, see :zephyr:code-sample:`button-sample`
|
||||
for more details
|
||||
|
||||
Building and Running
|
||||
********************
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue