Skip to content

Commit f45e56b

Browse files
committed
feat(libdocs): write nice comments for docs.yaka
1 parent f9ac244 commit f45e56b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

compiler/scripts/libdocs.py

+4
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,10 @@ def main():
338338
if header in PREFIXES:
339339
print(PREFIXES[header])
340340
print(Colors.cyan("## ") + Colors.blue(yaksha_mod))
341+
summary_file.append("# --------------------------------------------------")
341342
summary_file.append(header)
343+
summary_file.append("# --------------------------------------------------")
344+
342345
print("```yaksha")
343346

344347
for f in structures[yaksha_mod]["macros"]:
@@ -367,6 +370,7 @@ def main():
367370
print(buf.build_color())
368371
summary_file.append(buf.build())
369372

373+
summary_file.append("\n")
370374
print("```")
371375
print()
372376

0 commit comments

Comments
 (0)