Skip to content

Commit

Permalink
Correct auto-doc script
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-rs committed Sep 24, 2024
1 parent 3da19d9 commit e265191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gen_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def render_markdown(file) -> None:
# Check if other models were part of the first render
for md, md_name in markdown_list:
# Add if missing
if not re.search(f"# {md_name}\n>", compiled_md):
if not re.search(f"# {md_name}\n", compiled_md):
compiled_md += f"\n\n{md}"

doc_path = file.replace(BASE_PATH, DOCS_DOCS_PATH).replace(".py", ".md")
Expand Down

0 comments on commit e265191

Please sign in to comment.