diff --git a/Help/manual/cmake-presets.7.rst b/Help/manual/cmake-presets.7.rst index e48722b86d..c93df2054c 100644 --- a/Help/manual/cmake-presets.7.rst +++ b/Help/manual/cmake-presets.7.rst @@ -65,19 +65,7 @@ Format it does exist. However, the keys should be a vendor-specific domain name followed by a ``/``-separated path. For example, the Example IDE 1.0 could use ``example.com/ExampleIDE/1.0``. The value of each field can be anything - desired by the vendor, though will typically be a map. For example: - - .. code-block:: json - - { - "version": 1, - "vendor": { - "example.com/ExampleIDE/1.0": { - "autoFormat": true - } - }, - "configurePresets": [] - } + desired by the vendor, though will typically be a map. ``configurePresets`` diff --git a/Help/manual/presets/example.json b/Help/manual/presets/example.json index a299a06b5d..c68fa22390 100644 --- a/Help/manual/presets/example.json +++ b/Help/manual/presets/example.json @@ -17,7 +17,17 @@ "type": "BOOL", "value": "OFF" } + }, + "vendor": { + "example.com/ExampleIDE/1.0": { + "autoFormat": true + } } } - ] + ], + "vendor": { + "example.com/ExampleIDE/1.0": { + "autoFormat": false + } + } }