-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Documentation] Markdown improvements f to m #13866
[Documentation] Markdown improvements f to m #13866
Conversation
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mikrotik looks good 👍🏻
Homematic LGTM |
@Confectrician, in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gardena LGTM
HdPowerView LGTM
Hue LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
heliosventilation LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Confectrician, @wborn FYI - I've made some additional review comments after PR has been merged.
Thing button flic_livingroom "Yellow Button Living Room" [address = "60:13:B3:02:18:BD"] | ||
Thing button flic_kitchen "Black Button Kitchen" [address = "B5:7E:59:78:86:9F"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These tabs should be converted to four spaces to preserve indentation:
Thing button flic_livingroom "Yellow Button Living Room" [address = "60:13:B3:02:18:BD"] | |
Thing button flic_kitchen "Black Button Kitchen" [address = "B5:7E:59:78:86:9F"] | |
Thing button flic_livingroom "Yellow Button Living Room" [address = "60:13:B3:02:18:BD"] | |
Thing button flic_kitchen "Black Button Kitchen" [address = "B5:7E:59:78:86:9F"] |
@@ -25,7 +25,7 @@ Bridge has the following configuration parameters: | |||
|
|||
| Parameter | Description | Required | |||
|------------------|-------------------------------------------------------|---------- | |||
| apikey | API Key from https://api.foobot.io/apidoc/index.html | Mandatory | |||
| apikey | API Key from <https://api.foobot.io/apidoc/index.html> | Mandatory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you reformat the table alignment after this change, i.e. add two spaces/dashes at the end for this column in the lines before and after?
Frame { | ||
Switch item=RadioPower | ||
Slider visibility=[RadioPower==ON] item=RadioVolume | ||
Switch visibility=[RadioPower==ON] item=RadioMute | ||
Selection visibility=[RadioPower==ON] item=RadioPreset mappings=[0="Favourit 1", 1="Favourit 2", 2="Favourit 3", 3="Favourit 4"] | ||
Selection visibility=[RadioPower==ON] item=RadioMode mappings=[0="Internet Radio", 1="Musik Player", 2="DAB", 3="FM", 4="AUX"] | ||
Text visibility=[RadioPower==ON] item=RadioInfo1 | ||
Text visibility=[RadioPower==ON] item=RadioInfo2 | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tabs should be converted to four spaces to preserve indentation:
Frame { | |
Switch item=RadioPower | |
Slider visibility=[RadioPower==ON] item=RadioVolume | |
Switch visibility=[RadioPower==ON] item=RadioMute | |
Selection visibility=[RadioPower==ON] item=RadioPreset mappings=[0="Favourit 1", 1="Favourit 2", 2="Favourit 3", 3="Favourit 4"] | |
Selection visibility=[RadioPower==ON] item=RadioMode mappings=[0="Internet Radio", 1="Musik Player", 2="DAB", 3="FM", 4="AUX"] | |
Text visibility=[RadioPower==ON] item=RadioInfo1 | |
Text visibility=[RadioPower==ON] item=RadioInfo2 | |
} | |
Frame { | |
Switch item=RadioPower | |
Slider visibility=[RadioPower==ON] item=RadioVolume | |
Switch visibility=[RadioPower==ON] item=RadioMute | |
Selection visibility=[RadioPower==ON] item=RadioPreset mappings=[0="Favourit 1", 1="Favourit 2", 2="Favourit 3", 3="Favourit 4"] | |
Selection visibility=[RadioPower==ON] item=RadioMode mappings=[0="Internet Radio", 1="Musik Player", 2="DAB", 3="FM", 4="AUX"] | |
Text visibility=[RadioPower==ON] item=RadioInfo1 | |
Text visibility=[RadioPower==ON] item=RadioInfo2 | |
} |
@@ -31,7 +31,7 @@ Hayward OmniLogic Connection Parameters: | |||
|
|||
| Property | Default | Required | Description | | |||
|----------------------|----------------------------------------------------------------|----------|----------------------------------------------| | |||
| Host Name | https://app1.haywardomnilogic.com/HAAPI/HomeAutomation/API.ash | Yes | Host name of the Hayward API server | | |||
| Host Name | <https://app1.haywardomnilogic.com/HAAPI/HomeAutomation/API.ash> | Yes | Host name of the Hayward API server | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you reformat the table alignment after this change?
| Single action<br>top-down | `position` | ▲ | Up | **`CLOSED`** | 0% | ▲ | | ||
| | | ▼ | Down | **`OPEN`** | 100% | ▼ | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this table also be reformatted with alignment? Here and below:
| Single action<br>top-down | `position` | ▲ | Up | **`CLOSED`** | 0% | ▲ | | |
| | | ▼ | Down | **`OPEN`** | 100% | ▼ | | |
| Single action<br>top-down | `position` | ▲ | Up | **`CLOSED`** | 0% | ▲ | | |
| | | ▼ | Down | **`OPEN`** | 100% | ▼ | |
player Kitchen "Kitchen"[pid="434523813"] | ||
player LivingRoom "Living Room"[pid="918797451"] | ||
group 813793755 "Ground Level"[members="434523813;918797451"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spaces for keeping indentation.
Default item=LivingRoom_Control | ||
Default item=LivingRoom_Mute | ||
Default item=LivingRoom_Volume | ||
Default item=LivingRoom_Title | ||
Default item=LivingRoom_Interpret | ||
Default item=LivingRoom_Album |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here I would also suggest to replace tabs with four spaces.
when | ||
Item HeosKitchen_InputSelect received command | ||
then | ||
if (receivedCommand.toString == "aux_in_1") { | ||
sendCommand(HeosKitchen_Input, "aux_in_1") | ||
|
||
} if (receivedCommand.toString == "LivingRoom") { | ||
sendCommand(HeosBridge_Play_Living, ON) | ||
sendCommand(HeosKitchen_Input, "aux_in_1") | ||
sendCommand(HeosBridge_Play_Living, OFF) //Switch player channel off again to be sure that it is OFF | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And here.
Default item=HeosGroup1_Player | ||
Default item=HeosGroup1_Volume | ||
Default item=HeosGroup1_Mute | ||
Default item=HeosGroup1_Favorites | ||
Default item=HeosGroup1_Playlist | ||
|
||
Text item=HeosGroup1_Song { | ||
Default item=HeosGroup1_Song | ||
Default item=HeosGroup1_Artist | ||
Default item=HeosGroup1_Album | ||
Image item=HeosGroup1_Cover url="" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And here.
baseURL="https://example.com/api/v1/metadata-api/web/metadata", | ||
headers="key1=value1", "key2=value2", "key3=value3", | ||
refresh=15] { | ||
Channels: | ||
Type string : text "Text" [ stateTransformation="JSONPATH:$.metadata.data" ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tab => four spaces.
clientActiveWithInSeconds=0, | ||
hostname="192.168.1.177", | ||
port=8096, | ||
refreshSeconds=30, | ||
ssl="false" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tab => four spaces.
Signed-off-by: Jerome Luckenbach <github@luckenba.ch> Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: Jerome Luckenbach <github@luckenba.ch> Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
according to openhab#13866 Signed-off-by: Martin Grassl <martin.grassl@digital-filestore.de>
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
Signed-off-by: Jerome Luckenbach <github@luckenba.ch> Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
This is a bulk pr for getting some consistency into the doc markdown files.
Reference for a general linting approach here: #13858
Discussion Reference for codeblock styles i have applied: openhab/openhab-docs#999
(Sorry for the many review requests, there is plenty much to improve in the repo. 🤷♂️)