zephyr/samples
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
..
application_development dts: Replace status = "ok" with status = "okay" 2019-06-14 19:51:13 -05:00
basic yaml: Remove redundant document separators 2019-06-19 10:40:10 +02:00
bluetooth yaml: Remove redundant document separators 2019-06-19 10:40:10 +02:00
boards yaml: Remove redundant document separators 2019-06-19 10:40:10 +02:00
cpp_synchronization license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
display samples: display: ili9340: Document 2 Arduino TFT shield configurations. 2019-06-17 17:06:06 -04:00
drivers dts: Replace status = "ok" with status = "okay" 2019-06-14 19:51:13 -05:00
gui dts: Replace status = "ok" with status = "okay" 2019-06-14 19:51:13 -05:00
hello_world doc: Remove prj_single.conf from README.rst 2019-04-08 10:45:52 -04:00
mpu doc: fix misspellings in documentation 2019-06-18 15:08:19 -04:00
net doc: fix misspellings in documentation 2019-06-18 15:08:19 -04:00
nfc/nfc_hello license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
philosophers pointer-type args: cast appropriately to be 64-bit compatible 2019-06-12 08:20:52 -07:00
portability pointer-type args: cast appropriately to be 64-bit compatible 2019-06-12 08:20:52 -07:00
sensor yaml: Remove redundant document separators 2019-06-19 10:40:10 +02:00
shields dts: Convert from DT_<COMPAT>_<INSTANCE>_<PROP> to DT_INST... 2019-06-14 08:02:15 -05:00
subsys yaml: Remove redundant document separators 2019-06-19 10:40:10 +02:00
synchronization license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
testing/integration license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
userspace style: samples/tests: add braces around if/while statements 2019-06-06 15:20:21 +02:00
xtensa_asm2 license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
classic.rst doc: restructure and create index pages 2019-02-05 07:04:40 -05:00
index.rst doc: use :zephyr_file: where appropriate 2019-03-09 09:50:27 -05:00