mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
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:
committed by
Christian Decker
parent
0f05238e97
commit
6d1897b796
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user