From 4a92277f45d127baa3a9258ad91c285592311bbd Mon Sep 17 00:00:00 2001 From: Kyle Edwards Date: Tue, 23 Feb 2021 15:39:48 -0500 Subject: Revert "Help: Document JSON comment support in cmake-presets(7)" Revert commit 8f1e607ed9 (Help: Document JSON comment support in cmake-presets(7), 2021-02-18). The support for comments was a mistake when the feature was implemented in 3.19, and is being removed. --- Help/manual/cmake-presets.7.rst | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Help/manual/cmake-presets.7.rst b/Help/manual/cmake-presets.7.rst index 55a9947..467818d 100644 --- a/Help/manual/cmake-presets.7.rst +++ b/Help/manual/cmake-presets.7.rst @@ -29,10 +29,7 @@ is using Git, ``CMakePresets.json`` may be tracked, and Format ====== -The files are JSON documents. C-style comments are allowed using -line-wise ``//`` syntax or block ``/*...*/`` syntax. - -Each document has an object as the root: +The files are a JSON document with an object as the root: .. literalinclude:: presets/example.json :language: json -- cgit v0.12