Skip to content

Commit aea3038

Browse files
dbkinderAnas Nashif
authored andcommitted
doc: genrest writing files without final newline
The script used to generate Kconfig documentation (genrest.py) was creating .rst files without a final newline. Signed-off-by: David B. Kinder <[email protected]>
1 parent 19d9d41 commit aea3038

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/scripts/genrest/genrest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def print_items(items, outdir, indent):
5353
config.write("\n%s\n\n" %text)
5454
else:
5555
config.write("\nThe configuration item %s:\n\n" %var)
56-
config.write(item.rest())
56+
config.write("%s\n" %item.rest())
5757

5858
config.close()
5959
elif item.is_menu():

0 commit comments

Comments
 (0)