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