mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-10 21:31:53 +01:00
adapted links to documentation to new website layout (#347)
* adapted links to documentation to new website layout Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
parent
6a4f410fa1
commit
75c1796d92
@ -107,11 +107,11 @@ public class KarafExtensionService implements ExtensionService {
|
||||
String version = feature.getVersion();
|
||||
String link = null;
|
||||
if (type.equals("binding")) {
|
||||
link = "http://docs.openhab.org/addons/bindings/" + name + "/readme.html";
|
||||
link = "https://www.openhab.org/addons/bindings/" + name + "/";
|
||||
} else if (type.equals("action")) {
|
||||
link = "http://docs.openhab.org/addons/actions/" + name + "/readme.html";
|
||||
link = "https://www.openhab.org/addons/actions/" + name + "/";
|
||||
} else if (type.equals("persistence")) {
|
||||
link = "http://docs.openhab.org/addons/persistence/" + name + "/readme.html";
|
||||
link = "https://www.openhab.org/addons/persistence/" + name + "/";
|
||||
}
|
||||
boolean installed = featuresService.isInstalled(feature);
|
||||
return new Extension(extId, type, label, version, link, installed);
|
||||
|
Loading…
Reference in New Issue
Block a user