Commit 774fd8b3 authored by Benjamin Cabé's avatar Benjamin Cabé Committed by Anas Nashif
Browse files

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: default avatarBenjamin Cabé <benjamin@zephyrproject.org>
parent 1b66353a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
.. _cpp_synchronization:
.. zephyr:code-sample:: cpp_synchronization
   :name: C++ synchronization

C++ Synchronization
###################
   Use Zephyr synchronization primitives from C++ code.

Overview
********
+3 −3
Original line number Diff line number Diff line
.. _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
********