From b3ade70e2901fcf3ff06e6d2868217e36599aca3 Mon Sep 17 00:00:00 2001 From: Wouter Born Date: Sat, 9 Apr 2022 16:56:13 +0200 Subject: [PATCH] Fix SAT MarkdownCheck image location findings (#12591) This fixes all the MarkdownCheck "Images must be located in the doc/ folder." findings. Fixes #12590 Signed-off-by: Wouter Born --- .../org.openhab.automation.jsscripting/README.md | 8 ++++---- bundles/org.openhab.io.openhabcloud/README.md | 2 +- .../{contrib/doc/cfg.png => doc/configuration.png} | Bin 3 files changed, 5 insertions(+), 5 deletions(-) rename bundles/org.openhab.io.openhabcloud/{contrib/doc/cfg.png => doc/configuration.png} (100%) diff --git a/bundles/org.openhab.automation.jsscripting/README.md b/bundles/org.openhab.automation.jsscripting/README.md index 830c9eb8d..97af368e3 100644 --- a/bundles/org.openhab.automation.jsscripting/README.md +++ b/bundles/org.openhab.automation.jsscripting/README.md @@ -33,7 +33,7 @@ to common openHAB functionality within rules including items, things, actions, l This add-on includes by default the [openhab-js](https://github.com/openhab/openhab-js/) NPM library and exports it's namespaces onto the global namespace. This allows the use of `items`, `actions`, `cache` and other objects without the need to explicitly import using `require()`. This functionality can be disabled for users who prefer to manage their own imports via the add-on configuration options. -![openHAB Rule Configuration](./doc/settings.png) +![openHAB Rule Configuration](doc/settings.png) ## UI Based Rules @@ -44,7 +44,7 @@ Advanced users, or users migrating scripts from existing systems may want to use ### Adding Triggers Using the openHAB UI, first create a new rule and set a trigger condition -![openHAB Rule Configuration](./doc/rule-config.png) +![openHAB Rule Configuration](doc/rule-config.png) ### Adding Actions @@ -52,11 +52,11 @@ Select "Add Action" and then select "ECMAScript 262 Edition 11". Its important this is "Edition 11" or higher, earlier versions will not work. This will bring up a empty script editor where you can enter your javascript. -![openHAB Rule Engines](./doc/rule-engines.png) +![openHAB Rule Engines](doc/rule-engines.png) You can now write rules using standard ES6 Javascript along with the included openHAB [standard library](#standard-library). -![openHAB Rule Script](./doc/rule-script.png) +![openHAB Rule Script](doc/rule-script.png) For example, turning a light on: ```javascript diff --git a/bundles/org.openhab.io.openhabcloud/README.md b/bundles/org.openhab.io.openhabcloud/README.md index d25833cdf..3d217e2ab 100644 --- a/bundles/org.openhab.io.openhabcloud/README.md +++ b/bundles/org.openhab.io.openhabcloud/README.md @@ -41,7 +41,7 @@ Location of UUID and Secret: After installing this add-on, you will find configuration options in the openHAB portal under _Settings -> Other Services -> openHAB Cloud_: -![Configuration](contrib/doc/cfg.png) +![Configuration](doc/configuration.png) Please note, that you should not expose all your items in this settings dialog. Also note that at present this feature is currently turned off. diff --git a/bundles/org.openhab.io.openhabcloud/contrib/doc/cfg.png b/bundles/org.openhab.io.openhabcloud/doc/configuration.png similarity index 100% rename from bundles/org.openhab.io.openhabcloud/contrib/doc/cfg.png rename to bundles/org.openhab.io.openhabcloud/doc/configuration.png