Skip to content

Commit

Permalink
Update doc.py
Browse files Browse the repository at this point in the history
  • Loading branch information
eschan145 authored Jan 1, 2025
1 parent de88003 commit 0ded202
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def doc(file_path, lib=None, markdown=False):

with open(output_markdown, "w", encoding="utf-8") as md_file:
md_file.write(f"# Documentation for `{base_name}.cpp`\n\n")
md_file.write("This documentation is automatically generated each push to GitHub.")
for (name, docstring) in docstrings:
md_file.write(f"### *function* `{name}()`\n\n{docstring}\n\n")

Expand Down

0 comments on commit 0ded202

Please sign in to comment.