From 6c0f37546f2264241d36866a213c5b37abea58b8 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 17 Nov 2025 15:56:38 -0500 Subject: Help: Improve string(JSON) synopsis document source readability Avoid spaces in signature target names. --- Help/command/string.rst | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Help/command/string.rst b/Help/command/string.rst index 6bd56a1..3cb3567 100644 --- a/Help/command/string.rst +++ b/Help/command/string.rst @@ -45,16 +45,16 @@ Synopsis `JSON`_ string(JSON [ERROR_VARIABLE ] - {`GET `_ | `TYPE `_ | `LENGTH `_ | `REMOVE `_} + {`GET `_ | `TYPE `_ | `LENGTH `_ | `REMOVE `_} [ ...]) string(JSON [ERROR_VARIABLE ] - `MEMBER `_ + `MEMBER `_ [ ...] ) string(JSON [ERROR_VARIABLE ] - `SET `_ + `SET `_ [ ...] ) string(JSON [ERROR_VARIABLE ] - `EQUAL `_ ) + `EQUAL `_ ) Search and Replace ^^^^^^^^^^^^^^^^^^ @@ -522,7 +522,7 @@ Functionality for querying a JSON string. .. signature:: string(JSON [ERROR_VARIABLE ] GET [ ...]) - :target: JSON GET + :target: JSON-GET Get an element from ```` at the location given by the list of ```` arguments. @@ -534,7 +534,7 @@ Functionality for querying a JSON string. .. signature:: string(JSON [ERROR_VARIABLE ] TYPE [ ...]) - :target: JSON TYPE + :target: JSON-TYPE Get the type of an element in ```` at the location given by the list of ```` arguments. The ```` @@ -545,7 +545,7 @@ Functionality for querying a JSON string. string(JSON [ERROR_VARIABLE ] MEMBER [ ...] ) - :target: JSON MEMBER + :target: JSON-MEMBER Get the name of the ````-th member in ```` at the location given by the list of ```` arguments. @@ -554,7 +554,7 @@ Functionality for querying a JSON string. .. signature:: string(JSON [ERROR_VARIABLE ] LENGTH [ ...]) - :target: JSON LENGTH + :target: JSON-LENGTH Get the length of an element in ```` at the location given by the list of ```` arguments. @@ -563,7 +563,7 @@ Functionality for querying a JSON string. .. signature:: string(JSON [ERROR_VARIABLE ] REMOVE [ ...]) - :target: JSON REMOVE + :target: JSON-REMOVE Remove an element from ```` at the location given by the list of ```` arguments. The JSON string @@ -572,7 +572,7 @@ Functionality for querying a JSON string. .. signature:: string(JSON [ERROR_VARIABLE ] SET [ ...] ) - :target: JSON SET + :target: JSON-SET Set an element in ```` at the location given by the list of ```` arguments to ````. @@ -584,7 +584,7 @@ Functionality for querying a JSON string. .. signature:: string(JSON [ERROR_VARIABLE ] EQUAL ) - :target: JSON EQUAL + :target: JSON-EQUAL Compare the two JSON objects given by ```` and ```` for equality. The contents of ```` -- cgit v0.12 From 510d81c7bc51472a22acb936cfbb4d1717c3a855 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 17 Nov 2025 16:00:09 -0500 Subject: Help: Avoid reST named references in string(JSON) synopsis Also revert commit 9702a01dc9 (Help: string(LENGTH): Fix synopsis link to command description, 2023-12-30, v3.28.2~23^2). It was only needed to avoid re-using a named reference that we've now removed. Issue: #25546 --- Help/command/string.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Help/command/string.rst b/Help/command/string.rst index 3cb3567..89c109a 100644 --- a/Help/command/string.rst +++ b/Help/command/string.rst @@ -22,7 +22,7 @@ Synopsis string(`JOIN`_ [...]) string(`TOLOWER`_ ) string(`TOUPPER`_ ) - string(`LENGTH `_ ) + string(`LENGTH`_ ) string(`SUBSTRING`_ ) string(`STRIP`_ ) string(`GENEX_STRIP`_ ) @@ -45,16 +45,16 @@ Synopsis `JSON`_ string(JSON [ERROR_VARIABLE ] - {`GET `_ | `TYPE `_ | `LENGTH `_ | `REMOVE `_} + {`GET `__ | `TYPE `__ | `LENGTH `__ | `REMOVE `__} [ ...]) string(JSON [ERROR_VARIABLE ] - `MEMBER `_ + `MEMBER `__ [ ...] ) string(JSON [ERROR_VARIABLE ] - `SET `_ + `SET `__ [ ...] ) string(JSON [ERROR_VARIABLE ] - `EQUAL `_ ) + `EQUAL `__ ) Search and Replace ^^^^^^^^^^^^^^^^^^ -- cgit v0.12