From 02789c91d99a9f487ce40c638d23a4c18ce1fc98 Mon Sep 17 00:00:00 2001 From: Revar Desmera Date: Mon, 25 May 2020 15:34:15 -0700 Subject: [PATCH] Fix lone period bug in docs parser. --- scripts/docs_gen.py | 4 ++-- version.scad | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/docs_gen.py b/scripts/docs_gen.py index cd0ee4b..6b32f7c 100755 --- a/scripts/docs_gen.py +++ b/scripts/docs_gen.py @@ -82,8 +82,8 @@ def get_comment_block(lines, prefix, blanks=1): break else: blankcnt = 0 - if line == ".": - line == "" + if line.rstrip() == '.': + line = "\n" out.append(line.rstrip()) return (lines, out) diff --git a/version.scad b/version.scad index 9c923ae..a0dfeaf 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,325]; +BOSL_VERSION = [2,0,326]; // Section: BOSL Library Version Functions