Browse Source

Help: Use `caption` option of `code-block` for JSON trace format snippets

pull/357/head
Alex Turbov 3 years ago
parent
commit
c9eb090902
No known key found for this signature in database GPG Key ID: 8BEDB7D11F95D5E3
  1. 6
      Help/manual/cmake.1.rst

6
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": {

Loading…
Cancel
Save