Skip to content

Commit f649442

Browse files
committed
Fix including zarr.codecs._v2
1 parent 7cd3b56 commit f649442

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/conf.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,13 @@
5656
autoapi_dirs = ['../src/zarr']
5757
autoapi_add_toctree_entry = False
5858
autoapi_root = "api"
59-
autoapi_ignore = ["*v2*"]
59+
autoapi_ignore = ["*zarr/v2*"]
6060

6161
def skip_private_modules(app, what: str, name: str, obj, skip: bool, options) -> bool:
62-
if "._" in name:
62+
# TODO: remove this clause when zarr.codecs._v2 is removed
63+
if name == "zarr.codecs._v2":
64+
return False
65+
elif "._" in name:
6366
return True
6467
return False
6568

0 commit comments

Comments
 (0)