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")