Add addon page link. (#1929)

* Add addon page link.

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

* Ad logic to build url dynamically.

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

* Generate valid mardown.

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

* Fix spelling.

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
pull/1930/head
Jerome Luckenbach 2022-11-27 16:45:15 +01:00 committed by GitHub
parent 07f41cfdee
commit de86cf4192
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions

View File

@ -105,7 +105,15 @@ def process_file(indir, file, outdir, source)
end
# Actions and transformations are currently partly in add-ons, copy the content above the list of add-ons
break if line =~ /^More details regarding this and other Transformation services can be found in the individual transformation articles linked below./
if line =~ /^More details regarding this and other Transformation services can be found in the individual transformation articles linked below./
out.puts ""
out.puts ":::tip"
out.puts "You can find the available transformation services [here](https://www.openhab.org/addons/#transform)."
out.puts ":::"
out.puts ""
break
end
break if line =~ /^## Installable Actions/
# Remove collapsibles in Linux install document and replace them by regular headings