diff --git a/docs/gen_files.py b/docs/gen_files.py index f0c02b2b..bda12570 100644 --- a/docs/gen_files.py +++ b/docs/gen_files.py @@ -18,7 +18,14 @@ doc_path = doc_path.with_name("index.md") full_doc_path = full_doc_path.with_name("index.md") + print(f"Path: {path}") + print(f" - module_path = {module_path}") + print(f" - doc_path = {doc_path}") + print(f" - full_doc_path = {full_doc_path}") + print(f" - parts = {parts}") + if not len(parts) or parts[-1] == "__main__" or parts[0] in ("codegen", "backend"): + print(" - skipping") continue with mkdocs_gen_files.open(full_doc_path, "w") as fd: