Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jsr223.md: do not state that SimpleRule is used only in Jython #2354

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dilyanpalauzov
Copy link
Contributor

Modify example for Groovy closure. I believe its form is not () -> {…}, but { [params ->] … } where params is optional, and -> is also optional when there are no params, cf. https://groovy-lang.org/closures.html

For RuleSimple preset insert hyperlinks to the documentation of the included classes.

Remove statement that SimpleRule is a base class for Rules only in Jython.

Copy link

netlify bot commented Aug 29, 2024

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).

Name Link
🔨 Latest commit 1ded3e4
🔍 Latest deploy log https://app.netlify.com/sites/openhab-docs-preview/deploys/66da0d35f7e82a00086f8a18
😎 Deploy Preview https://deploy-preview-2354--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.

@dilyanpalauzov
Copy link
Contributor Author

Why is the CI failing in configuration/transformations.md, when I have not modified this file?

@rkoshak
Copy link
Contributor

rkoshak commented Sep 3, 2024

There appear to be some markdown linting errors that made it into the merged version. I'm not sure how that happened nor the best way to handle that. You can fix it obviously as part of this PR but it would be good to know why this is showing up.

Maybe the linting rules changed?

@dilyanpalauzov
Copy link
Contributor Author

I do not understand it. #2358 does pass the linter checks and there configuration/transforms.md is the same. The problem with transforms.md is that there is a numbered list, in which since 20 August not all items start with 1. , but with 2. , 3. etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants