README.rst: Use code directive for all code examples

Most of the code examples in README.rst use the code directive, but some
use literal blocks or just quoted paragraphs. Use the code directive for
all code for consistency.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Laurent Pinchart 2023-11-26 04:42:58 +02:00
parent e25003e78b
commit 74c5db6fd4

View file

@ -30,7 +30,7 @@ Getting Started
To fetch the sources, build and install: To fetch the sources, build and install:
:: .. code::
git clone https://git.libcamera.org/libcamera/libcamera.git git clone https://git.libcamera.org/libcamera/libcamera.git
cd libcamera cd libcamera
@ -120,6 +120,8 @@ Using GStreamer plugin
To use GStreamer plugin from source tree, set the following environment so that To use GStreamer plugin from source tree, set the following environment so that
GStreamer can find it. This isn't necessary when libcamera is installed. GStreamer can find it. This isn't necessary when libcamera is installed.
.. code::
export GST_PLUGIN_PATH=$(pwd)/build/src/gstreamer export GST_PLUGIN_PATH=$(pwd)/build/src/gstreamer
The debugging tool ``gst-launch-1.0`` can be used to construct a pipeline and The debugging tool ``gst-launch-1.0`` can be used to construct a pipeline and