mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
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.
This commit is contained in:
@@ -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
|
||||
^^^^^^^^^^^^^^^^
|
||||
|
||||
::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user