1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-04 14:37:24 +02:00

Documented project description blurb and openscad.py.

This commit is contained in:
Chris Palmer
2020-12-29 12:20:32 +00:00
parent 46ff632bbb
commit 06e1c1a3da
4 changed files with 14 additions and 4 deletions

View File

@@ -60,7 +60,8 @@ They should work with both Python 2 and Python 3.
break
if not blurb:
print("Missing description for", file)
print("| `%s` | %s |" % (file, blurb), file = doc_file)
else:
print("| `%s` | %s |" % (file, blurb), file = doc_file)
with open(dir + "/readme.html", "wt") as html_file:
do_cmd(("python -m markdown -x tables " + doc_name).split(), html_file)