From 29c02529592fb2489edee6c92e418918e5732105 Mon Sep 17 00:00:00 2001 From: Paul Beesley Date: Wed, 13 Mar 2019 15:11:04 +0000 Subject: doc: Set correct syntax highlighting style Several code blocks do not specify a language for syntax highlighting. This results in Sphinx using a default highlighter which is Python. This patch adds the correct language to each code block that doesn't already specify it. Change-Id: Icce1949aabfdc11a334a42d49edf55fa673cddc3 Signed-off-by: Paul Beesley --- docs/components/romlib-design.rst | 2 +- docs/components/sdei.rst | 2 +- docs/components/secure-partition-manager-design.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/components') diff --git a/docs/components/romlib-design.rst b/docs/components/romlib-design.rst index 9f62b7c4..ab39723f 100644 --- a/docs/components/romlib-design.rst +++ b/docs/components/romlib-design.rst @@ -106,7 +106,7 @@ The environment variable ``CROSS_COMPILE`` must be set as per the user guide. In the below example the usage of ROMLIB together with mbed TLS is demonstrated to showcase the benefits of library at ROM - it's not mandatory. -:: +.. code:: shell make PLAT=fvp \ MBEDTLS_DIR= \ diff --git a/docs/components/sdei.rst b/docs/components/sdei.rst index 8c087897..7b6cc913 100644 --- a/docs/components/sdei.rst +++ b/docs/components/sdei.rst @@ -224,7 +224,7 @@ activity, such as receiving a Secure interrupt or an exception. The SDEI dispatcher implementation provides ``sdei_dispatch_event()`` API for this purpose. The API has the following signature: -:: +.. code:: c int sdei_dispatch_event(int ev_num); diff --git a/docs/components/secure-partition-manager-design.rst b/docs/components/secure-partition-manager-design.rst index 31276cd7..88052c55 100644 --- a/docs/components/secure-partition-manager-design.rst +++ b/docs/components/secure-partition-manager-design.rst @@ -130,7 +130,7 @@ First, build the Standalone MM Secure Partition. To build it, refer to the Then build TF-A with SPM support and include the Standalone MM Secure Partition image in the FIP: -:: +.. code:: shell BL32=path/to/standalone/mm/sp BL33=path/to/bl33.bin \ make PLAT=fvp ENABLE_SPM=1 ARM_BL31_IN_DRAM=1 fip all -- cgit v1.2.3