dts: bindings: Preserve newlines in descriptions
With https://github.com/zephyrproject-rtos/zephyr/pull/20185, multi-line descriptions will be formatted nicely, but using '>' breaks it, because it removes internal newlines (including between paragraphs). See https://yaml-multiline.info/. Replace 'description: >' with 'description: |' to encourage '|'. That'll prevent '>' from getting copied around and messing up long descriptions. This will lead to some extra newlines in the output, but it's fine. Line-wrapping messes up any manual formatting. The replacement was done with $ git ls-files 'dts/bindings/*.yaml' | \ xargs sed -i 's/description:\s*>/description: |/' Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
b92ceb78dd
commit
b9240a3cbc
351 changed files with 351 additions and 351 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
title: Keyboard Scan Matrix Base Structure
|
||||
|
||||
description: >
|
||||
description: |
|
||||
This binding gives the base structures for all Keyboard Matrix devices
|
||||
|
||||
include: base.yaml
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
title: Microchip XEC Keyboard Scan Matrix
|
||||
|
||||
description: >
|
||||
description: |
|
||||
This is a representation of the Microchip XEC Keyboard Matrix controller
|
||||
|
||||
compatible: "microchip,xec-kscan"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue