Преглед на файлове

Help: Update style guide to use section headers for command signatures

In order to be able to link to specific command signatures we need to
use a section header instead of a horizontal separator.
Brad King преди 11 години
родител
ревизия
d8319f0fc9
променени са 1 файла, в които са добавени 4 реда и са изтрити 3 реда
  1. 4 3
      Help/manual/cmake-developer.7.rst

+ 4 - 3
Help/manual/cmake-developer.7.rst

@@ -521,14 +521,15 @@ Style: CMake Command Signatures
 Command signatures should be marked up as plain literal blocks, not as
 cmake ``code-blocks``.
 
-Signatures are separated from preceding content by a horizontal
-line. That is, use:
+Signatures are separated from preceding content by a section header.
+That is, use:
 
 .. code-block:: rst
 
   ... preceding paragraph.
 
-  ---------------------------------------------------------------------
+  Normal Libraries
+  ^^^^^^^^^^^^^^^^
 
   ::