]> git.basschouten.com Git - openhab-addons.git/commitdiff
Fix SAT MarkdownCheck image location findings (#12591)
authorWouter Born <github@maindrain.net>
Sat, 9 Apr 2022 14:56:13 +0000 (16:56 +0200)
committerGitHub <noreply@github.com>
Sat, 9 Apr 2022 14:56:13 +0000 (16:56 +0200)
This fixes all the MarkdownCheck "Images must be located in the doc/ folder." findings.

Fixes #12590

Signed-off-by: Wouter Born <github@maindrain.net>
bundles/org.openhab.automation.jsscripting/README.md
bundles/org.openhab.io.openhabcloud/README.md
bundles/org.openhab.io.openhabcloud/contrib/doc/cfg.png [deleted file]
bundles/org.openhab.io.openhabcloud/doc/configuration.png [new file with mode: 0644]

index 830c9eb8dca20a9b50ffc2187ae6b4225e5b3376..97af368e3694ab86189a75e2666e293dd7953c49 100644 (file)
@@ -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
index d25833cdf7c911a96f12b4f7d58eb1820a3e5515..3d217e2abd78214c6a5dca01e897bc2e1f20549b 100644 (file)
@@ -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/contrib/doc/cfg.png
deleted file mode 100644 (file)
index 961fd58..0000000
Binary files a/bundles/org.openhab.io.openhabcloud/contrib/doc/cfg.png and /dev/null differ
diff --git a/bundles/org.openhab.io.openhabcloud/doc/configuration.png b/bundles/org.openhab.io.openhabcloud/doc/configuration.png
new file mode 100644 (file)
index 0000000..961fd58
Binary files /dev/null and b/bundles/org.openhab.io.openhabcloud/doc/configuration.png differ