Fix MD040 warnings
The following warnings are generated by using markdownlint analysis:
```
MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
```
Refer to markdown-lint [1] to fix MD040
[1]: https://github.com/updownpress/markdown-lint/blob/master/rules/040-fenced-code-language.md
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
Change-Id: I7c5f191faacead8091a76d54230803d3bf6e6d4b
diff --git a/libopenbmc_intf/GPIOS.md b/libopenbmc_intf/GPIOS.md
index 67ebc50..7c4d932 100644
--- a/libopenbmc_intf/GPIOS.md
+++ b/libopenbmc_intf/GPIOS.md
@@ -9,33 +9,35 @@
It looks like:
-```
-"gpio_configs": {
- "power_config": {
+```json
+{
+ "gpio_configs": {
+ "power_config": {
- #See code in op-pwrctl for details
+ #See code in op-pwrctl for details
- #Required
- "power_good_in": "...",
+ #Required
+ "power_good_in": "...",
- #Required
- "power_up_outs": [
- {"name": "...", "polarity": true/false},
- {"name": "...", "polarity": true/false}
- ],
+ #Required
+ "power_up_outs": [
+ {"name": "...", "polarity": true/false},
+ {"name": "...", "polarity": true/false}
+ ],
- #Optional
- "reset_outs": [
- {"name": "...", "polarity": true/false}
- ],
+ #Optional
+ "reset_outs": [
+ {"name": "...", "polarity": true/false}
+ ],
- #Optional
- "latch_out": "...",
+ #Optional
+ "latch_out": "...",
- #Optional
- "pci_reset_outs": [
- {"name": "...", "polarity": true/false, "hold": true/false}
- ]
+ #Optional
+ "pci_reset_outs": [
+ {"name": "...", "polarity": true/false, "hold": true/false}
+ ]
+ }
}
}
```
@@ -46,8 +48,9 @@
It looks like:
-```
- "gpio_definitions": [
+```json
+{
+"gpio_definitions": [
{
#The name to look up this entry.
@@ -67,4 +70,5 @@
...
}
]
+}
```