From b77c468df6babff2bd6bce8c3fecf2f24e217123 Mon Sep 17 00:00:00 2001 From: Oliver Backhouse Date: Sun, 24 Nov 2024 14:51:13 +0000 Subject: [PATCH] debug --- docs/gen_files.py | 7 +++++++ 1 file changed, 7 insertions(+) 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: