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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user