summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-03-10 16:08:35 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-03-10 16:08:52 (GMT)
commit46d5349e8fcfc3966f45b8b2ed586a59d3313eba (patch)
tree058b2e5ed233fe8d3605253c2764a4fa77e0bacf /Tests
parentd95ac61225bc216ba81342f82ec5d2903cdc0294 (diff)
parent8c52458a9ee52b296e0846392116485e8f0868ec (diff)
downloadCMake-46d5349e8fcfc3966f45b8b2ed586a59d3313eba.zip
CMake-46d5349e8fcfc3966f45b8b2ed586a59d3313eba.tar.gz
CMake-46d5349e8fcfc3966f45b8b2ed586a59d3313eba.tar.bz2
Merge topic 'help-signatures'
8c52458a9e cmRST: Fix cmake domain directives with newline before argument d4b21bcdd6 cmRST: Fix typo in comment 6a84717d17 cmRST: Convert enum types to enum class Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8310
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CMakeLib/testRST.expect15
-rw-r--r--Tests/CMakeLib/testRST.rst15
2 files changed, 20 insertions, 10 deletions
diff --git a/Tests/CMakeLib/testRST.expect b/Tests/CMakeLib/testRST.expect
index 076562a..483e220 100644
--- a/Tests/CMakeLib/testRST.expect
+++ b/Tests/CMakeLib/testRST.expect
@@ -46,7 +46,8 @@ Bracket Comment Content
Bracket Comment Content
]
-.. cmake:command:: some_cmd
+.. cmake:command::
+ some_cmd
Command some_cmd description.
@@ -54,7 +55,8 @@ Bracket Comment Content
Command other_cmd description.
-.. cmake:envvar:: some_var
+.. cmake:envvar::
+ some_var
Environment variable some_var description.
@@ -62,7 +64,8 @@ Bracket Comment Content
Environment variable other_var description.
-.. cmake:genex:: SOME_GENEX
+.. cmake:genex::
+ SOME_GENEX
Generator expression SOME_GENEX description.
@@ -70,7 +73,8 @@ Bracket Comment Content
Generator expression $<OTHER_GENEX> description.
-.. cmake:signature:: some_command(SOME_SIGNATURE)
+.. cmake:signature::
+ some_command(SOME_SIGNATURE)
Command some_command SOME_SIGNATURE description.
@@ -78,7 +82,8 @@ Bracket Comment Content
Command other_command OTHER_SIGNATURE description.
-.. cmake:variable:: some_var
+.. cmake:variable::
+ some_var
Variable some_var description.
diff --git a/Tests/CMakeLib/testRST.rst b/Tests/CMakeLib/testRST.rst
index 43b08da..c23b69a 100644
--- a/Tests/CMakeLib/testRST.rst
+++ b/Tests/CMakeLib/testRST.rst
@@ -49,7 +49,8 @@ Inline literal ``__`` followed by inline link `Link Text <InternalDest_>`_.
.. cmake-module:: testRSTmod.cmake
-.. cmake:command:: some_cmd
+.. cmake:command::
+ some_cmd
Command some_cmd description.
@@ -57,7 +58,8 @@ Inline literal ``__`` followed by inline link `Link Text <InternalDest_>`_.
Command other_cmd description.
-.. cmake:envvar:: some_var
+.. cmake:envvar::
+ some_var
Environment variable some_var description.
@@ -65,7 +67,8 @@ Inline literal ``__`` followed by inline link `Link Text <InternalDest_>`_.
Environment variable other_var description.
-.. cmake:genex:: SOME_GENEX
+.. cmake:genex::
+ SOME_GENEX
Generator expression SOME_GENEX description.
@@ -73,7 +76,8 @@ Inline literal ``__`` followed by inline link `Link Text <InternalDest_>`_.
Generator expression $<OTHER_GENEX> description.
-.. cmake:signature:: some_command(SOME_SIGNATURE)
+.. cmake:signature::
+ some_command(SOME_SIGNATURE)
Command some_command SOME_SIGNATURE description.
@@ -81,7 +85,8 @@ Inline literal ``__`` followed by inline link `Link Text <InternalDest_>`_.
Command other_command OTHER_SIGNATURE description.
-.. cmake:variable:: some_var
+.. cmake:variable::
+ some_var
Variable some_var description.