preseve blank lines in session stats documentation generation

This commit is contained in:
arvidn 2016-02-17 18:38:50 -08:00
parent 53e2d5ee8a
commit f0db0245a3
2 changed files with 3 additions and 1 deletions

View File

@ -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