Skip to content

Commit

Permalink
Merge pull request #270 from CybercentreCanada/patch/docs
Browse files Browse the repository at this point in the history
Correct auto-doc script
  • Loading branch information
cccs-rs authored Sep 24, 2024
2 parents 3da19d9 + e265191 commit 16d24a2
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 16d24a2

Please sign in to comment.