Skip to content

Commit df4c042

Browse files
committed
feat: enhance autoapi configuration with additional options for members and special members
1 parent 52a8912 commit df4c042

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/source/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@
7272
suppress_warnings = ["autoapi.python_import_resolution"]
7373
autoapi_python_class_content = "both"
7474
autoapi_keep_files = False # set to True for debugging generated files
75+
autoapi_options = ["members", "undoc-members", "special-members"]
76+
autoapi_member_options = {
77+
"special-members": "__iter__,__aiter__,__arrow_c_array__,__arrow_c_stream__"
78+
}
7579

7680

7781
def autoapi_skip_member_fn(app, what, name, obj, skip, options) -> bool: # noqa: ARG001

0 commit comments

Comments
 (0)