From ed7e6b103fe1e4a1e998d12b8785b49a1a900d8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Fri, 18 Oct 2024 18:26:51 +0200 Subject: [PATCH] boards: longan: adopt new zephyr:board directive and role MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This updates the documentation of all the Longan boards to use the new `zephyr:board::` directive. Signed-off-by: Benjamin Cabé --- boards/sipeed/longan_nano/doc/index.rst | 9 +-------- samples/drivers/dac/README.rst | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/boards/sipeed/longan_nano/doc/index.rst b/boards/sipeed/longan_nano/doc/index.rst index 6150c2378cf..49a52c00d65 100644 --- a/boards/sipeed/longan_nano/doc/index.rst +++ b/boards/sipeed/longan_nano/doc/index.rst @@ -1,11 +1,4 @@ -.. _longan_nano: - -Sipeed Longan Nano -################## - -.. image:: img/longan_nano.jpg - :align: center - :alt: longan_nano +.. zephyr:board:: longan_nano Overview ******** diff --git a/samples/drivers/dac/README.rst b/samples/drivers/dac/README.rst index 34e3c36339a..edfe9fa9101 100644 --- a/samples/drivers/dac/README.rst +++ b/samples/drivers/dac/README.rst @@ -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 ========================================================= 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: samples/drivers/dac