doc: _scripts: gen_devicetree_rest: ensure blank lines around transition
Transition markers ("----") require blank lines before and after, so
this ensures that is always the case.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
committed by
Henrik Brix Andersen
parent
e13971b796
commit
72a1c9e43e
@@ -604,7 +604,7 @@ def print_binding_page(binding, base_names, vnd_lookup, driver_sources,dup_compa
|
||||
''', string_io)
|
||||
blocks = [to_code_block(example, language='dts')
|
||||
for example in binding.examples]
|
||||
print("\n----\n".join(blocks), file=string_io)
|
||||
print("\n\n----\n\n".join(blocks), file=string_io)
|
||||
|
||||
# Properties.
|
||||
print_block('''\
|
||||
|
||||
Reference in New Issue
Block a user