Skip to content

Commit

Permalink
cleanup print call and old file ignore statements
Browse files Browse the repository at this point in the history
  • Loading branch information
kushaangupta committed Oct 1, 2024
1 parent 76531f5 commit ca98106
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions docs/gen_ref_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@

parts = tuple(module_path.parts)

#if any([[p == "__pycache__" for p in parts]]):
# continue
# if parts[0] == "__init__":
# continue

if parts[-1] == "__init__":
parts = parts[:-1]
doc_path = doc_path.with_name("index.md")
Expand All @@ -31,7 +26,6 @@
continue

nav_parts = [f"{mod_symbol} {part}" for part in parts]
print(nav_parts)
nav[tuple(nav_parts)[-2:]] = doc_path.as_posix()

with mkdocs_gen_files.open(full_doc_path, "w") as fd:
Expand Down

0 comments on commit ca98106

Please sign in to comment.