From c9eb090902e5507e7f579d71d7a42c23689c8c8a Mon Sep 17 00:00:00 2001 From: Alex Turbov Date: Sun, 6 Nov 2022 04:52:03 +0400 Subject: Help: Use `caption` option of `code-block` for JSON trace format snippets --- Help/manual/cmake.1.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst index 8012cc5..daa2e58 100644 --- a/Help/manual/cmake.1.rst +++ b/Help/manual/cmake.1.rst @@ -362,9 +362,8 @@ Options separated by a newline ( ``\n`` ). It is guaranteed that no newline characters will be present inside a JSON document. - JSON trace format: - .. code-block:: json + :caption: JSON trace format { "file": "/full/path/to/the/CMake/file.txt", @@ -417,9 +416,8 @@ Options Additionally, the first JSON document outputted contains the ``version`` key for the current major and minor version of the - JSON trace format: - .. code-block:: json + :caption: JSON version format { "version": { -- cgit v0.12