Skip to content

Commit e1399e5

Browse files
committed
Add new system: Fix doc
GitHub is rendering this as terrible looking red highlighted text. Fix by making this correct JSON. It appears to be caused by some JSON validation. [1]: https://github.com/openbmc/docs/blob/44f3de929bbee0dbacd024b9724fe72817fd1f48/development/add-new-system.md?plain=1#L371 This was introduced years ago by [2]: ace9cd1 The GitHub rendering engine could have changed in that time. Now that this was correct syntax, prettier had an opinion. Tested: Pushed to my fork and looks good. Change-Id: Idddfb94269665640cd94c9d920a02c91953898e0 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
1 parent 44f3de9 commit e1399e5

File tree

1 file changed

+22
-23
lines changed

1 file changed

+22
-23
lines changed

development/add-new-system.md

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -345,30 +345,29 @@ Romulus.
345345

346346
```json
347347
{
348-
"gpio_configs": {
349-
"power_config": {
350-
"power_good_in": "SYS_PWROK_BUFF",
351-
"power_up_outs": [
352-
{ "name": "SOFTWARE_PGOOD", "polarity": true},
353-
{ "name": "BMC_POWER_UP", "polarity": true}
354-
],
355-
"reset_outs": [
356-
]
357-
}
348+
"gpio_configs": {
349+
"power_config": {
350+
"power_good_in": "SYS_PWROK_BUFF",
351+
"power_up_outs": [
352+
{ "name": "SOFTWARE_PGOOD", "polarity": true },
353+
{ "name": "BMC_POWER_UP", "polarity": true }
354+
],
355+
"reset_outs": []
356+
}
357+
},
358+
359+
"gpio_definitions": [
360+
{
361+
"name": "SOFTWARE_PGOOD",
362+
"pin": "R1",
363+
"direction": "out"
358364
},
359-
360-
"gpio_definitions": [
361-
{
362-
"name": "SOFTWARE_PGOOD",
363-
"pin": "R1",
364-
"direction": "out"
365-
},
366-
{
367-
"name": "BMC_POWER_UP",
368-
"pin": "D1",
369-
"direction": "out"
370-
},
371-
...
365+
{
366+
"name": "BMC_POWER_UP",
367+
"pin": "D1",
368+
"direction": "out"
369+
}
370+
]
372371
}
373372
```
374373

0 commit comments

Comments
 (0)