mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-07-31 15:40:27 +02:00
Fixed docs formatting issues.
This commit is contained in:
@@ -55,15 +55,14 @@ def get_comment_block(lines, prefix, blanks=1):
|
||||
while lines:
|
||||
if not lines[0].startswith(prefix + " "):
|
||||
break
|
||||
line = lines.pop(0).rstrip().lstrip("/")
|
||||
line = lines.pop(0)[len(prefix)+1:]
|
||||
if line == "":
|
||||
blankcnt += 1
|
||||
if blankcnt >= blanks:
|
||||
break
|
||||
else:
|
||||
blankcnt = 0
|
||||
line = line[len(prefix):]
|
||||
out.append(line)
|
||||
out.append(line.rstrip())
|
||||
return (lines, out)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user