From 9cb4e8042a746227bb98f3092610058824355eae Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Tue, 25 Jun 2024 15:39:18 +0200 Subject: [PATCH] Doc: Replace \badcode with \code to show JSON highlighting ...in the online docs. Does not work in the helps. Change-Id: I6391ff40be2607eb026153deec418e9389954b7d Reviewed-by: Artem Sokolovskii Reviewed-by: Cristian Adam --- .../src/cmake/creator-projects-cmake-presets.qdoc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/qtcreator/src/cmake/creator-projects-cmake-presets.qdoc b/doc/qtcreator/src/cmake/creator-projects-cmake-presets.qdoc index 41937eb6b92..02344e217b7 100644 --- a/doc/qtcreator/src/cmake/creator-projects-cmake-presets.qdoc +++ b/doc/qtcreator/src/cmake/creator-projects-cmake-presets.qdoc @@ -44,7 +44,7 @@ \c NOT_COMMON_VALUE is displayed in \uicontrol {Initial Parameters} and \c AN_ENVIRONMENT_FLAG in the environment configuration field. - \badcode + \code { "version": 1, "configurePresets": [ @@ -91,7 +91,7 @@ \li GNU gdb 11.2.0 for MinGW 11.2.0 64-bit debugger \endlist - \badcode + \code { "version": 1, "configurePresets": [ @@ -131,7 +131,7 @@ generator, add \c Debug and \c Release build steps, and specify the path to \c ninja.exe as a value of the \c CMAKE_MAKE_PROGRAM variable: - \badcode + \code { "version": 2, "configurePresets": [ @@ -180,7 +180,7 @@ For example: - \badcode + \code "generator": "Ninja Multi-Config", "toolset": { "value": "v142,host=x64", @@ -196,7 +196,7 @@ in the \c PATH, you might also have to specify the compiler to use in \c cacheVariables or \c environmentVariables: - \badcode + \code "generator": "Ninja Multi-Config", "toolset": { "value": "v142,host=x64", @@ -226,7 +226,7 @@ \li \c wine emulator \endlist - \badcode + \code { "version": 4, "configurePresets": [ @@ -262,7 +262,7 @@ if the \c hostSystemName equals \c Linux, the \c linux presets are used and if it equals \c Windows, the \c windows presets are used. - \badcode + \code { "version": 3, "configurePresets": [