From 74c5db6fd412a414ea3c38bbb5436849d4bd8d34 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sun, 26 Nov 2023 04:42:58 +0200 Subject: 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 Reviewed-by: Kieran Bingham --- README.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'README.rst') diff --git a/README.rst b/README.rst index 6eed7238..4a6eb252 100644 --- a/README.rst +++ b/README.rst @@ -30,7 +30,7 @@ Getting Started To fetch the sources, build and install: -:: +.. code:: git clone https://git.libcamera.org/libcamera/libcamera.git cd libcamera @@ -120,6 +120,8 @@ Using GStreamer plugin 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. +.. code:: + export GST_PLUGIN_PATH=$(pwd)/build/src/gstreamer The debugging tool ``gst-launch-1.0`` can be used to construct a pipeline and -- cgit v1.2.1