From d30f85193f94d5e9e2a0d0d5f7fc161b79bfee3b Mon Sep 17 00:00:00 2001 From: Kyle Edwards Date: Wed, 14 Oct 2020 15:10:28 -0400 Subject: Help: Move vendor field into example This ensures that the vendor field gets automated testing from the example. --- Help/manual/cmake-presets.7.rst | 14 +------------- Help/manual/presets/example.json | 12 +++++++++++- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/Help/manual/cmake-presets.7.rst b/Help/manual/cmake-presets.7.rst index e48722b..c93df20 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 a299a06..c68fa22 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 + } + } } -- cgit v0.12