openhab / openhab-docs

This repository contains the documentation for openHAB.
https://www.openhab.org/docs/
Other
274 stars 695 forks source link

Remove wrappers from inline transformation documentation examples #2406

Open masipila opened 1 week ago

masipila commented 1 week ago

Based on my observations on 4.3.0.M2, the inline transformations should not be like JS(|"String has " + input.length + " characters") like shown in the current documentation. Instead, it should be like |"String has " + input.length + " characters".

I tested the syntax with DSL and ECMAScript but assume the same thing applies to Ruby and Groovy (but did not test those).

Cheers, Markus

openhab-bot commented 1 week ago

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/entsoe-binding-4-0-0-5-0-0/149699/121

netlify[bot] commented 1 week ago

Thanks for your pull request to the openHAB documentation! The result can be previewed at the URL below (this comment and the preview will be updated if you add more commits).

Built without sensitive environment variables

Name Link
Latest commit 117f2bd36ed9be0f1289cc1c867a1fad131f78c1
Latest deploy log https://app.netlify.com/sites/openhab-docs-preview/deploys/6738e78b8386a0000878642a
Deploy Preview https://deploy-preview-2406--openhab-docs-preview.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.