zephyr/boards
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
..
arc doc: fix broken references to zephyr files 2019-06-18 16:01:55 -04:00
arm doc: fix misspellings in documentation 2019-06-18 15:08:19 -04:00
common boards: allow cmake-time overrides of all runners 2019-06-07 13:43:51 +02:00
nios2 drivers/i2c: Add missing HAS_DTS_I2C to nios 2019-06-18 11:22:23 -04:00
posix doc: Cleanup references to cmake 2019-06-17 10:09:57 -07:00
riscv32 yaml: Remove redundant document separators 2019-06-19 10:40:10 +02:00
shields doc: Cleanup references to cmake 2019-06-17 10:09:57 -07:00
x86 doc: fix misspellings in documentation 2019-06-18 15:08:19 -04:00
x86_64/qemu_x86_64 license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
xtensa dts: Replace status = "ok" with status = "okay" 2019-06-14 19:51:13 -05:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
index.rst doc: use :zephyr_file: where appropriate 2019-03-09 09:50:27 -05:00