You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- **`allow_inspection`** (`bool`) – Allow using introspection on modules for which sources aren't available (compiled modules, etc.).
184
187
- **`annotations_path`** (`Literal['brief', 'source', 'full']`) – The verbosity for annotations path: brief (recommended), source (as written in the source), or full.
- **`docstring_section_style`** (`Literal['list', 'table']`) – The style used to render docstring sections.
187
190
- **`docstring_style`** (`Literal['google', 'numpy', 'sphinx', 'auto'] | None`) – The style in which docstrings are written: auto, google, numpy, sphinx, or None.
191
+
- **`extensions`** (`list[LoadableExtensionType]`) – A list of Griffe extensions to load.
188
192
- **`filters`** (`list[str] | list[tuple[Pattern[str], bool]]`) – A list of filters.
193
+
- **`force_inspection`** (`bool`) – Force using introspection on modules even if sources are available.
189
194
- **`group_by_category`** (`bool`) – Group the object's children by categories: attributes, classes, functions, and modules.
190
195
- **`heading_level`** (`int`) – The initial heading level to use.
191
196
- **`inherited_members`** (`bool | list[str]`) – A boolean, or an explicit list of inherited members to render.
@@ -195,6 +200,7 @@ Attributes:
195
200
- **`members_order`** (`Literal['alphabetical', 'source']`) – The members ordering to use.
196
201
- **`merge_init_into_class`** (`bool`) – Whether to merge the __init__ method into the class' signature and docstring.
197
202
- **`preload_modules`** (`list[str] | None`) – Pre-load modules that are not specified directly in autodoc instructions (::: identifier).
203
+
- **`search_paths`** (`list[str]`) – A list of paths to search packages into.
198
204
- **`separate_signature`** (`bool`) – Whether to put the whole signature in a code block below the heading.
199
205
- **`show_bases`** (`bool`) – Show the base classes of a class.
200
206
- **`show_category_heading`** (`bool`) – When grouped by categories, show a heading for each category.
@@ -241,7 +247,7 @@ The verbosity for annotations path: `brief` (recommended), `source` (as written
The style in which docstrings are written: `auto`, `google`, `numpy`, `sphinx`, or `None`.
266
272
273
+
### extensions
274
+
275
+
```
276
+
extensions: list[LoadableExtensionType]
277
+
```
278
+
279
+
A list of Griffe extensions to load.
280
+
267
281
### filters
268
282
269
283
```
@@ -274,6 +288,14 @@ A list of filters.
274
288
275
289
A filter starting with `!` will exclude matching objects instead of including them. The `members` option takes precedence over `filters` (filters will still be applied recursively to lower members in the hierarchy).
276
290
291
+
### force_inspection
292
+
293
+
```
294
+
force_inspection: bool
295
+
```
296
+
297
+
Force using introspection on modules even if sources are available.
298
+
277
299
### group_by_category
278
300
279
301
```
@@ -359,6 +381,14 @@ For an imported member to be rendered, you need to add it to the `__all__` attri
359
381
360
382
The modules must be listed as an array of strings.
361
383
384
+
### search_paths
385
+
386
+
```
387
+
search_paths: list[str]
388
+
```
389
+
390
+
A list of paths to search packages into.
391
+
362
392
### separate_signature
363
393
364
394
```
@@ -1473,6 +1503,10 @@ Parameters:
1473
1503
- **`obj`** (`Object`) – The Griffe object to render docs for.
When using this function programmatically, options such as `docstring_style` and `docstring_options` must be passed to the Griffe loader so that they are correctly set when loading data. Check griffe.GriffeLoader for more information.
-**`allow_inspection`** (`bool`) – Allow using introspection on modules for which sources aren't available (compiled modules, etc.).
129
132
-**`annotations_path`** (`Literal['brief', 'source', 'full']`) – The verbosity for annotations path: brief (recommended), source (as written in the source), or full.
-**`docstring_section_style`** (`Literal['list', 'table']`) – The style used to render docstring sections.
132
135
-**`docstring_style`** (`Literal['google', 'numpy', 'sphinx', 'auto'] | None`) – The style in which docstrings are written: auto, google, numpy, sphinx, or None.
136
+
-**`extensions`** (`list[LoadableExtensionType]`) – A list of Griffe extensions to load.
133
137
-**`filters`** (`list[str] | list[tuple[Pattern[str], bool]]`) – A list of filters.
138
+
-**`force_inspection`** (`bool`) – Force using introspection on modules even if sources are available.
134
139
-**`group_by_category`** (`bool`) – Group the object's children by categories: attributes, classes, functions, and modules.
135
140
-**`heading_level`** (`int`) – The initial heading level to use.
136
141
-**`inherited_members`** (`bool | list[str]`) – A boolean, or an explicit list of inherited members to render.
@@ -140,6 +145,7 @@ Attributes:
140
145
-**`members_order`** (`Literal['alphabetical', 'source']`) – The members ordering to use.
141
146
-**`merge_init_into_class`** (`bool`) – Whether to merge the __init__ method into the class' signature and docstring.
142
147
-**`preload_modules`** (`list[str] | None`) – Pre-load modules that are not specified directly in autodoc instructions (::: identifier).
148
+
-**`search_paths`** (`list[str]`) – A list of paths to search packages into.
143
149
-**`separate_signature`** (`bool`) – Whether to put the whole signature in a code block below the heading.
144
150
-**`show_bases`** (`bool`) – Show the base classes of a class.
145
151
-**`show_category_heading`** (`bool`) – When grouped by categories, show a heading for each category.
@@ -186,7 +192,7 @@ The verbosity for annotations path: `brief` (recommended), `source` (as written
The style in which docstrings are written: `auto`, `google`, `numpy`, `sphinx`, or `None`.
211
217
218
+
### extensions
219
+
220
+
```
221
+
extensions: list[LoadableExtensionType]
222
+
```
223
+
224
+
A list of Griffe extensions to load.
225
+
212
226
### filters
213
227
214
228
```
@@ -219,6 +233,14 @@ A list of filters.
219
233
220
234
A filter starting with `!` will exclude matching objects instead of including them. The `members` option takes precedence over `filters` (filters will still be applied recursively to lower members in the hierarchy).
221
235
236
+
### force_inspection
237
+
238
+
```
239
+
force_inspection: bool
240
+
```
241
+
242
+
Force using introspection on modules even if sources are available.
243
+
222
244
### group_by_category
223
245
224
246
```
@@ -304,6 +326,14 @@ For an imported member to be rendered, you need to add it to the `__all__` attri
304
326
305
327
The modules must be listed as an array of strings.
306
328
329
+
### search_paths
330
+
331
+
```
332
+
search_paths: list[str]
333
+
```
334
+
335
+
A list of paths to search packages into.
336
+
307
337
### separate_signature
308
338
309
339
```
@@ -1418,6 +1448,10 @@ Parameters:
1418
1448
-**`obj`** (`Object`) – The Griffe object to render docs for.
When using this function programmatically, options such as `docstring_style` and `docstring_options` must be passed to the Griffe loader so that they are correctly set when loading data. Check griffe.GriffeLoader for more information.
0 commit comments