From e265191e098da5be2c7b65555b868312c54c215d Mon Sep 17 00:00:00 2001 From: cccs-rs <62077998+cccs-rs@users.noreply.github.com> Date: Tue, 24 Sep 2024 16:34:42 +0000 Subject: [PATCH] Correct auto-doc script --- gen_docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen_docs.py b/gen_docs.py index a04c7da..0d98a06 100644 --- a/gen_docs.py +++ b/gen_docs.py @@ -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")