浏览代码

Help: Document JSON comment support in cmake-presets(7)

Michael Hirsch 4 年之前
父节点
当前提交
8f1e607ed9
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      Help/manual/cmake-presets.7.rst

+ 4 - 1
Help/manual/cmake-presets.7.rst

@@ -29,7 +29,10 @@ is using Git, ``CMakePresets.json`` may be tracked, and
 Format
 ======
 
-The files are a JSON document with an object as the root:
+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:
 
 .. literalinclude:: presets/example.json
   :language: json