summaryrefslogtreecommitdiffstats
path: root/Help/command/string.rst
diff options
context:
space:
mode:
authorMatthew Woehlke <matthew.woehlke@kitware.com>2023-03-10 20:22:51 (GMT)
committerMatthew Woehlke <matthew.woehlke@kitware.com>2023-03-15 14:53:25 (GMT)
commit68fb1572a8352f5229009285202afc3df692642f (patch)
treeb60355044eb7128144abb405e48da546a61c693d /Help/command/string.rst
parenta239a2a4141d4d156d4f0677311ce69d2b46b9cd (diff)
downloadCMake-68fb1572a8352f5229009285202afc3df692642f.zip
CMake-68fb1572a8352f5229009285202afc3df692642f.tar.gz
CMake-68fb1572a8352f5229009285202afc3df692642f.tar.bz2
Help: Convert signatures of file command
Convert `file` command to use new `signature` directive. Use '<HASH>' rather than 'HASH' for relevant signature targets, as this is arguably more correct, results in less need to specify explicit targets, but still produces '#hash' as the HTML anchor. Although actual textual changes to `file` are fairly minimal, large portions of the content have been re-indented and in many cases, re-flowed. Some tabular content in literal text blocks has also been converted to actual tables.
Diffstat (limited to 'Help/command/string.rst')
-rw-r--r--Help/command/string.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/command/string.rst b/Help/command/string.rst
index b47fa09..e226aa1 100644
--- a/Help/command/string.rst
+++ b/Help/command/string.rst
@@ -32,7 +32,7 @@ Synopsis
string(`COMPARE`_ <op> <string1> <string2> <out-var>)
`Hashing`_
- string(`\<HASH\> <HASH_>`_ <out-var> <input>)
+ string(`\<HASH\>`_ <out-var> <input>)
`Generation`_
string(`ASCII`_ <number>... <out-var>)
@@ -299,7 +299,7 @@ Hashing
.. signature::
string(<HASH> <output_variable> <input>)
- :target: HASH
+ :target: <HASH>
Compute a cryptographic hash of the ``<input>`` string.
The supported ``<HASH>`` algorithm names are: