zephyr/samples/bluetooth
Ulf Magnusson eba81c6e54 yaml: Remove redundant document separators
YAML document separators are needed e.g. when doing

  $ cat doc1.yaml doc2.yaml | <parser>

For the bindings, we never parse concatenated documents. Assume we don't
for any other .yaml files either.

Having document separators in e.g. base.yaml makes !include a bit
confusing, since the !included files are merged and not separate
documents (the merging is done in Python code though, so it makes no
difference for behavior).

The replacement was done with

    $ git ls-files '*.yaml' | \
        xargs sed -i -e '${/\s*\.\.\.\s*/d;}' -e 's/^\s*---\s*$//'

First pattern removes ... at the end of files, second pattern clears a
line with a lone --- on it.

Some redundant blank lines at the end of files were cleared with

    $ git ls-files '*.yaml' | xargs sed -i '${/^\s*$/d}'

This is more about making sure people can understand why every part of a
binding is there than about removing some text.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-06-19 10:40:10 +02:00
..
beacon
central
central_hr
eddystone
gatt
handsfree
hci_spi
hci_uart dts: Replace status = "ok" with status = "okay" 2019-06-14 19:51:13 -05:00
hci_usb
ibeacon
ipsp
mesh
mesh_demo
peripheral
peripheral_csc
peripheral_dis subsys/settings: Update client modules 2019-06-18 17:57:08 +02:00
peripheral_esp
peripheral_hids
peripheral_hr yaml: Remove redundant document separators 2019-06-19 10:40:10 +02:00
peripheral_sc_only
scan_adv
bluetooth.rst