Mesa (main): docs: use rst captions

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jun 21 08:26:23 UTC 2021


Module: Mesa
Branch: main
Commit: ed04cb62d898ade2670dbb486cfaebedce19bb6f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed04cb62d898ade2670dbb486cfaebedce19bb6f

Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Fri Jun 18 16:34:42 2021 +0200

docs: use rst captions

This is slightly stronger semantically.

Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11464>

---

 docs/meson.rst | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/docs/meson.rst b/docs/meson.rst
index 7151211cfe3..d19bb94e35a 100644
--- a/docs/meson.rst
+++ b/docs/meson.rst
@@ -244,9 +244,8 @@ provide information about the native build environment (as opposed to a
 cross build environment). They are ini formatted and can override where
 to find llvm-config:
 
-custom-llvm.ini
-
 .. code-block:: ini
+   :caption: custom-llvm.ini
 
    [binaries]
    llvm-config = '/usr/local/bin/llvm/llvm-config'
@@ -261,9 +260,8 @@ For selecting llvm-config for cross compiling a `"cross
 file" <https://mesonbuild.com/Cross-compilation.html#defining-the-environment>`__
 should be used. It uses the same format as the native file above:
 
-cross-llvm.ini
-
 .. code-block:: ini
+   :caption: cross-llvm.ini
 
    [binaries]
    ...



More information about the mesa-commit mailing list