浏览代码

Help: Fix formatting of CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API notes

Brad King 3 年之前
父节点
当前提交
5d76ff6019
共有 3 个文件被更改,包括 10 次插入10 次删除
  1. 2 2
      Help/command/export.rst
  2. 4 4
      Help/command/install.rst
  3. 4 4
      Help/command/target_sources.rst

+ 2 - 2
Help/command/export.rst

@@ -55,9 +55,9 @@ The options are:
 
 ``CXX_MODULES_DIRECTORY <directory>``
 
-.. note ::
+  .. note ::
 
-  Experimental. Gated by ``CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API``
+    Experimental. Gated by ``CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API``
 
   Export C++ module properties to files under the given directory. Each file
   will be named according to the target's export name (without any namespace).

+ 4 - 4
Help/command/install.rst

@@ -217,9 +217,9 @@ that may be installed:
 
 ``CXX_MODULES_BMI``
 
-.. note ::
+  .. note ::
 
-  Experimental. Gated by ``CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API``
+    Experimental. Gated by ``CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API``
 
   Any module files from C++ modules from ``PUBLIC`` sources in a file set of
   type ``CXX_MODULES`` will be installed to the given ``DESTINATION``. All
@@ -857,9 +857,9 @@ library is always installed if the headers and CMake export file are present.
 
 ``CXX_MODULES_DIRECTORY``
 
-.. note ::
+  .. note ::
 
-  Experimental. Gated by ``CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API``
+    Experimental. Gated by ``CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API``
 
   Specify a subdirectory to store C++ module information for targets in the
   export set. This directory will be populated with files which add the

+ 4 - 4
Help/command/target_sources.rst

@@ -83,9 +83,9 @@ files within those directories. The acceptable types include:
 
 ``CXX_MODULES``
 
-.. note ::
+  .. note ::
 
-  Experimental. Gated by ``CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API``
+    Experimental. Gated by ``CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API``
 
   Sources which contain C++ interface module or partition units (i.e., those
   using the ``export`` keyword). This file set type may not have an
@@ -93,9 +93,9 @@ files within those directories. The acceptable types include:
 
 ``CXX_MODULE_HEADER_UNITS``
 
-.. note ::
+  .. note ::
 
-  Experimental. Gated by ``CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API``
+    Experimental. Gated by ``CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API``
 
   C++ header sources which may be imported by other C++ source code. This file
   set type may not have an ``INTERFACE`` scope except on ``IMPORTED`` targets.