doc: fix GH/readthedocs rendering of manual pages.

They render the comment as if it's in the list.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2021-09-03 19:37:59 +09:30
committed by Christian Decker
parent 0f05238e97
commit 6d1897b796
161 changed files with 245 additions and 164 deletions

View File

@@ -238,6 +238,10 @@ def generate_from_schema(schema):
for w, desc in warnings:
output("- **{}**: {}\n".format(w, desc))
# GH markdown rendering gets upset if there isn't a blank line
# between a list and the end comment.
output('\n')
def main(schemafile, markdownfile):
start_marker = '[comment]: # (GENERATE-FROM-SCHEMA-START)\n'