From 72a1c9e43e5294a4476094ff92280ac5c6cc9e51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Thu, 22 Jan 2026 15:07:05 +0100 Subject: [PATCH] doc: _scripts: gen_devicetree_rest: ensure blank lines around transition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Transition markers ("----") require blank lines before and after, so this ensures that is always the case. Signed-off-by: Benjamin Cabé --- doc/_scripts/gen_devicetree_rest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/_scripts/gen_devicetree_rest.py b/doc/_scripts/gen_devicetree_rest.py index f66114583d6..55fd7c48dbf 100644 --- a/doc/_scripts/gen_devicetree_rest.py +++ b/doc/_scripts/gen_devicetree_rest.py @@ -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('''\