samples: net: doc: Use new Sphinx extension to document networking samples

Use the new code-sample directive and roles to document the networking
samples so that they show up as "Related samples" when browsing the
various relevant networking APIs.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
Benjamin Cabé 2023-09-08 10:34:42 +02:00 committed by Fabio Baltieri
commit 994558ef8e
87 changed files with 275 additions and 223 deletions

View file

@ -23,7 +23,7 @@ Note that Zephyr only supports DHCP client functionality.
Sample usage
************
See :ref:`dhcpv4-client-sample` for details.
See :zephyr:code-sample:`dhcpv4-client` sample application for details.
API Reference
*************