summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2022-11-06 00:52:03 (GMT)
committerAlex Turbov <i.zaufi@gmail.com>2022-11-07 18:55:06 (GMT)
commitc9eb090902e5507e7f579d71d7a42c23689c8c8a (patch)
treec5efeb6bbe063ae7140f32ac175afd172a1efd10
parent1d3630203ca3cc9c8a126213c626c75eb3ce3a6c (diff)
downloadCMake-c9eb090902e5507e7f579d71d7a42c23689c8c8a.zip
CMake-c9eb090902e5507e7f579d71d7a42c23689c8c8a.tar.gz
CMake-c9eb090902e5507e7f579d71d7a42c23689c8c8a.tar.bz2
Help: Use `caption` option of `code-block` for JSON trace format snippets
-rw-r--r--Help/manual/cmake.1.rst6
1 files 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": {