boards: longan: adopt new zephyr:board directive and role

This updates the documentation of all the Longan boards to use
the new `zephyr:board::` directive.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
Benjamin Cabé 2024-10-18 18:26:51 +02:00 committed by Carles Cufí
parent ba09b12735
commit ed7e6b103f
2 changed files with 2 additions and 9 deletions

View File

@ -1,11 +1,4 @@
.. _longan_nano: .. zephyr:board:: longan_nano
Sipeed Longan Nano
##################
.. image:: img/longan_nano.jpg
:align: center
:alt: longan_nano
Overview Overview
******** ********

View File

@ -193,7 +193,7 @@ Bridge the JP23 to DAC with the jumper cap, then DAC output will available on JP
Building and Running for Longan Nano and Longan Nano Lite Building and Running for Longan Nano and Longan Nano Lite
========================================================= =========================================================
The sample can be built and executed for the The sample can be built and executed for the
:ref:`longan_nano` as follows: :zephyr:board:`longan_nano` as follows:
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/drivers/dac :zephyr-app: samples/drivers/dac