Skip to content

Commit

Permalink
feat(libdocs): write nice comments for docs.yaka
Browse files Browse the repository at this point in the history
  • Loading branch information
JaDogg committed Mar 2, 2024
1 parent f9ac244 commit f45e56b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions compiler/scripts/libdocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,10 @@ def main():
if header in PREFIXES:
print(PREFIXES[header])
print(Colors.cyan("## ") + Colors.blue(yaksha_mod))
summary_file.append("# --------------------------------------------------")
summary_file.append(header)
summary_file.append("# --------------------------------------------------")

print("```yaksha")

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

summary_file.append("\n")
print("```")
print()

Expand Down

0 comments on commit f45e56b

Please sign in to comment.