Skip to content

Commit

Permalink
mkdocs: don't render modules with names starting with an underscore
Browse files Browse the repository at this point in the history
  • Loading branch information
mdbenito committed Jan 28, 2025
1 parent f91c6db commit 4d7f42e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build_scripts/generate_api_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
full_doc_path = full_doc_path.with_name("index.md")
elif parts[-1] == "__main__":
continue
elif parts[-1].startswith("_"):
continue

nav[parts] = doc_path.as_posix()

Expand Down

0 comments on commit 4d7f42e

Please sign in to comment.