Skip to content

Commit 4d19f2c

Browse files
committed
Inherit docstrings
1 parent bffedcf commit 4d19f2c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

mkdocs.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ nav:
3333
- api/open.md
3434
- api/load.md
3535
- api/save.md
36+
- api/buffer.md
3637
- api/convenience.md
3738
- api/config.md
3839
- api/codecs.md
@@ -117,18 +118,19 @@ plugins:
117118
python:
118119
paths: [src/zarr]
119120
options:
120-
# We set allow_inspection: false to ensure that all docstrings come
121-
# from the pyi files, not the Rust-facing doc comments.
122-
allow_inspection: false
121+
allow_inspection: true
123122
docstring_section_style: list
124123
docstring_style: numpy
124+
inherited_members: true
125125
line_length: 60
126126
separate_signature: true
127127
show_root_heading: true
128128
show_signature_annotations: true
129129
show_source: false
130130
show_symbol_type_toc: true
131131
signature_crossrefs: true
132+
extensions:
133+
- griffe_inherited_docstrings
132134

133135
inventories:
134136
- https://docs.python.org/3/objects.inv

0 commit comments

Comments
 (0)