From ca0a29a966b8f97cf53fabf14ea9053527447f8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20H=C3=B6hn?= Date: Fri, 16 Dec 2022 04:39:37 +0100 Subject: [PATCH] [blockly] fix help urls MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stefan Höhn --- .../web/src/assets/definitions/blockly/blocks-items.js | 2 +- .../web/src/assets/definitions/blockly/blocks-text.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-items.js b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-items.js index f01bc98df9..e06ad3e799 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-items.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-items.js @@ -58,7 +58,7 @@ export default function (f7) { this.setOutput(true, 'Array') this.setColour(0) this.setTooltip('Retrieve the items that have all the given tags') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#get-tagged-items') + this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#get-items-with-tag') this.setOutput(true, null) } } diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-text.js b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-text.js index 2aeb2b2faf..7d57158cb9 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-text.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/blockly/blocks-text.js @@ -17,7 +17,7 @@ export default function (f7) { this.setOutput(true, 'String') this.setColour('%{BKY_TEXTS_HUE}') this.setTooltip('Returns a carriage return line feed (\\r\\n).') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/') + this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#crlf') } } @@ -47,7 +47,7 @@ export default function (f7) { this.setOutput(true, 'String') this.setColour('%{BKY_TEXTS_HUE}') this.setTooltip('returns a new string with one, some, or all matches of a pattern replaced by a replacement. The pattern can be a string or a RegEx. If it is a string, all occurences are replaced.') - this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#concatenate-list') + this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#text-replace') } }