docs: use code-block for ini
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 15 Apr 2021 13:47:08 +0000 (15:47 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 26 Apr 2021 08:39:02 +0000 (08:39 +0000)
These code-blocks are close enough to INI-files to parse that way, so
let's use that for some syntax-coloring :)

Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10281>

docs/meson.rst

index 9089013..8e04eb3 100644 (file)
@@ -249,7 +249,7 @@ to find llvm-config:
 
 custom-llvm.ini
 
-::
+.. code-block:: ini
 
    [binaries]
    llvm-config = '/usr/local/bin/llvm/llvm-config'
@@ -275,7 +275,7 @@ should be used. It uses the same format as the native file above:
 
 cross-llvm.ini
 
-::
+.. code-block:: ini
 
    [binaries]
    ...
@@ -427,7 +427,7 @@ of those, as they'll have the right values for your system:
 
 32-bit build on x86 linux:
 
-::
+.. code-block:: ini
 
    [binaries]
    c = '/usr/bin/gcc'
@@ -451,7 +451,7 @@ of those, as they'll have the right values for your system:
 
 64-bit build on ARM linux:
 
-::
+.. code-block:: ini
 
    [binaries]
    c = '/usr/bin/aarch64-linux-gnu-gcc'
@@ -469,7 +469,7 @@ of those, as they'll have the right values for your system:
 
 64-bit build on x86 Windows:
 
-::
+.. code-block:: ini
 
    [binaries]
    c = '/usr/bin/x86_64-w64-mingw32-gcc'