preseve blank lines in session stats documentation generation
This commit is contained in:
parent
53e2d5ee8a
commit
f0db0245a3
|
@ -81,9 +81,11 @@ names = []
|
||||||
types = []
|
types = []
|
||||||
|
|
||||||
for l in f:
|
for l in f:
|
||||||
|
description_line = l.lstrip().startswith('// ')
|
||||||
|
|
||||||
l = l.strip()
|
l = l.strip()
|
||||||
|
|
||||||
if l.startswith('// '):
|
if description_line == True:
|
||||||
if len(names) > 0:
|
if len(names) > 0:
|
||||||
render_section(names, description, types)
|
render_section(names, description, types)
|
||||||
description = ''
|
description = ''
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 4.7 KiB |
Loading…
Reference in New Issue