diff --git a/docs/gen_ref_pages.py b/docs/gen_ref_pages.py index 63acdae..4dc2284 100644 --- a/docs/gen_ref_pages.py +++ b/docs/gen_ref_pages.py @@ -20,7 +20,7 @@ parts = parts[:-1] doc_path = doc_path.with_name("index.md") full_doc_path = full_doc_path.with_name("index.md") - elif parts[-1] in ("__main__", "run", "gen_ref_pages"): + elif parts[-1] in ("__main__", "run", "gen_ref_pages") or "tests" in parts: continue nav[parts] = doc_path.as_posix()