samples: cpp: use zephyr:code-sample directive

Describe the samples using code-sample directive in preparation for
upcoming changes to the Zephyr documentation that will be leveraging
the provided description and metadata.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
Benjamin Cabé 2024-08-23 19:17:40 +02:00 committed by Anas Nashif
parent 1b66353a8d
commit 774fd8b328
2 changed files with 6 additions and 6 deletions

View file

@ -1,7 +1,7 @@
.. _cpp_synchronization:
.. zephyr:code-sample:: cpp_synchronization
:name: C++ synchronization
C++ Synchronization
###################
Use Zephyr synchronization primitives from C++ code.
Overview
********

View file

@ -1,7 +1,7 @@
.. _hello_cpp_world:
.. zephyr:code-sample:: hello_cpp_world
:name: Hello C++ world
Hello C++ World
###############
Print "Hello World" to the console in C++.
Overview
********