@@ -16,9 +16,6 @@ Classes
16
16
:class: autosummary longtable
17
17
:align: left
18
18
19
- * - :py:obj: `RenderConfig <autodoc2.config.RenderConfig> `
20
- - .. autodoc2-docstring:: autodoc2.config.RenderConfig
21
- :summary:
22
19
* - :py:obj: `PackageConfig <autodoc2.config.PackageConfig> `
23
20
- .. autodoc2-docstring:: autodoc2.config.PackageConfig
24
21
:summary:
@@ -36,9 +33,6 @@ Functions
36
33
* - :py:obj: `_coerce_packages <autodoc2.config._coerce_packages> `
37
34
- .. autodoc2-docstring:: autodoc2.config._coerce_packages
38
35
:summary:
39
- * - :py:obj: `_validate_string_list <autodoc2.config._validate_string_list> `
40
- - .. autodoc2-docstring:: autodoc2.config._validate_string_list
41
- :summary:
42
36
* - :py:obj: `_validate_replace_list <autodoc2.config._validate_replace_list> `
43
37
- .. autodoc2-docstring:: autodoc2.config._validate_replace_list
44
38
:summary:
89
83
90
84
.. autodoc2-docstring :: autodoc2.config.CONFIG_PREFIX
91
85
92
- .. py :class :: RenderConfig
93
- :canonical: autodoc2.config.RenderConfig
94
-
95
- .. autodoc2-docstring :: autodoc2.config.RenderConfig
96
-
97
- .. py :attribute :: module_all_regexes
98
- :canonical: autodoc2.config.RenderConfig.module_all_regexes
99
- :type: list[typing.Pattern[str]]
100
- :value: None
101
-
102
- .. autodoc2-docstring :: autodoc2.config.RenderConfig.module_all_regexes
103
-
104
- .. py :attribute :: skip_module_regexes
105
- :canonical: autodoc2.config.RenderConfig.skip_module_regexes
106
- :type: list[typing.Pattern[str]]
107
- :value: None
108
-
109
- .. autodoc2-docstring :: autodoc2.config.RenderConfig.skip_module_regexes
110
-
111
- .. py :attribute :: hidden_objects
112
- :canonical: autodoc2.config.RenderConfig.hidden_objects
113
- :type: set[typing.Literal[undoc, dunder, private, inherited]]
114
- :value: None
115
-
116
- .. autodoc2-docstring :: autodoc2.config.RenderConfig.hidden_objects
117
-
118
- .. py :attribute :: hidden_regexes
119
- :canonical: autodoc2.config.RenderConfig.hidden_regexes
120
- :type: list[typing.Pattern[str]]
121
- :value: None
122
-
123
- .. autodoc2-docstring :: autodoc2.config.RenderConfig.hidden_regexes
124
-
125
- .. py :attribute :: deprecated_module_regexes
126
- :canonical: autodoc2.config.RenderConfig.deprecated_module_regexes
127
- :type: list[typing.Pattern[str]]
128
- :value: None
129
-
130
- .. autodoc2-docstring :: autodoc2.config.RenderConfig.deprecated_module_regexes
131
-
132
- .. py :attribute :: no_index
133
- :canonical: autodoc2.config.RenderConfig.no_index
134
- :type: bool
135
- :value: None
136
-
137
- .. autodoc2-docstring :: autodoc2.config.RenderConfig.no_index
138
-
139
- .. py :attribute :: module_summary
140
- :canonical: autodoc2.config.RenderConfig.module_summary
141
- :type: bool
142
- :value: None
143
-
144
- .. autodoc2-docstring :: autodoc2.config.RenderConfig.module_summary
145
-
146
- .. py :attribute :: class_docstring
147
- :canonical: autodoc2.config.RenderConfig.class_docstring
148
- :type: typing.Literal[merge, both]
149
- :value: None
150
-
151
- .. autodoc2-docstring :: autodoc2.config.RenderConfig.class_docstring
152
-
153
- .. py :attribute :: class_inheritance
154
- :canonical: autodoc2.config.RenderConfig.class_inheritance
155
- :type: bool
156
- :value: None
157
-
158
- .. autodoc2-docstring :: autodoc2.config.RenderConfig.class_inheritance
159
-
160
- .. py :attribute :: annotations
161
- :canonical: autodoc2.config.RenderConfig.annotations
162
- :type: bool
163
- :value: None
164
-
165
- .. autodoc2-docstring :: autodoc2.config.RenderConfig.annotations
166
-
167
- .. py :attribute :: sort_names
168
- :canonical: autodoc2.config.RenderConfig.sort_names
169
- :type: bool
170
- :value: None
171
-
172
- .. autodoc2-docstring :: autodoc2.config.RenderConfig.sort_names
173
-
174
- .. py :attribute :: replace_annotations
175
- :canonical: autodoc2.config.RenderConfig.replace_annotations
176
- :type: list[tuple[str, str]]
177
- :value: None
178
-
179
- .. autodoc2-docstring :: autodoc2.config.RenderConfig.replace_annotations
180
-
181
- .. py :attribute :: replace_bases
182
- :canonical: autodoc2.config.RenderConfig.replace_bases
183
- :type: list[tuple[str, str]]
184
- :value: None
185
-
186
- .. autodoc2-docstring :: autodoc2.config.RenderConfig.replace_bases
187
-
188
- .. py :attribute :: docstring_parser_regexes
189
- :canonical: autodoc2.config.RenderConfig.docstring_parser_regexes
190
- :type: list[tuple[typing.Pattern[str], str]]
191
- :value: None
192
-
193
- .. autodoc2-docstring :: autodoc2.config.RenderConfig.docstring_parser_regexes
194
-
195
86
.. py :class :: PackageConfig
196
87
:canonical: autodoc2.config.PackageConfig
197
88
@@ -220,88 +111,18 @@ API
220
111
221
112
.. py :attribute :: exclude_dirs
222
113
:canonical: autodoc2.config.PackageConfig.exclude_dirs
223
- :type: list[str] | None
114
+ :type: list[str]
224
115
:value: None
225
116
226
117
.. autodoc2-docstring :: autodoc2.config.PackageConfig.exclude_dirs
227
118
228
119
.. py :attribute :: exclude_files
229
120
:canonical: autodoc2.config.PackageConfig.exclude_files
230
- :type: list[str] | None
121
+ :type: list[str]
231
122
:value: None
232
123
233
124
.. autodoc2-docstring :: autodoc2.config.PackageConfig.exclude_files
234
125
235
- .. py :attribute :: module_all_regexes
236
- :canonical: autodoc2.config.PackageConfig.module_all_regexes
237
- :type: list[typing.Pattern[str]] | None
238
- :value: None
239
-
240
- .. autodoc2-docstring :: autodoc2.config.PackageConfig.module_all_regexes
241
-
242
- .. py :attribute :: skip_module_regexes
243
- :canonical: autodoc2.config.PackageConfig.skip_module_regexes
244
- :type: list[typing.Pattern[str]] | None
245
- :value: None
246
-
247
- .. autodoc2-docstring :: autodoc2.config.PackageConfig.skip_module_regexes
248
-
249
- .. py :attribute :: hidden_objects
250
- :canonical: autodoc2.config.PackageConfig.hidden_objects
251
- :type: set[typing.Literal[undoc, dunder, private, inherited]] | None
252
- :value: None
253
-
254
- .. autodoc2-docstring :: autodoc2.config.PackageConfig.hidden_objects
255
-
256
- .. py :attribute :: hidden_regexes
257
- :canonical: autodoc2.config.PackageConfig.hidden_regexes
258
- :type: list[typing.Pattern[str]] | None
259
- :value: None
260
-
261
- .. autodoc2-docstring :: autodoc2.config.PackageConfig.hidden_regexes
262
-
263
- .. py :attribute :: deprecated_module_regexes
264
- :canonical: autodoc2.config.PackageConfig.deprecated_module_regexes
265
- :type: list[typing.Pattern[str]] | None
266
- :value: None
267
-
268
- .. autodoc2-docstring :: autodoc2.config.PackageConfig.deprecated_module_regexes
269
-
270
- .. py :attribute :: module_summary
271
- :canonical: autodoc2.config.PackageConfig.module_summary
272
- :type: bool | None
273
- :value: None
274
-
275
- .. autodoc2-docstring :: autodoc2.config.PackageConfig.module_summary
276
-
277
- .. py :attribute :: class_inheritance
278
- :canonical: autodoc2.config.PackageConfig.class_inheritance
279
- :type: bool | None
280
- :value: None
281
-
282
- .. autodoc2-docstring :: autodoc2.config.PackageConfig.class_inheritance
283
-
284
- .. py :attribute :: class_docstring
285
- :canonical: autodoc2.config.PackageConfig.class_docstring
286
- :type: typing.Literal[merge, both] | None
287
- :value: None
288
-
289
- .. autodoc2-docstring :: autodoc2.config.PackageConfig.class_docstring
290
-
291
- .. py :attribute :: annotations
292
- :canonical: autodoc2.config.PackageConfig.annotations
293
- :type: bool | None
294
- :value: None
295
-
296
- .. autodoc2-docstring :: autodoc2.config.PackageConfig.annotations
297
-
298
- .. py :attribute :: sort_names
299
- :canonical: autodoc2.config.PackageConfig.sort_names
300
- :type: bool | None
301
- :value: None
302
-
303
- .. autodoc2-docstring :: autodoc2.config.PackageConfig.sort_names
304
-
305
126
.. py :method :: as_triple() -> typing.Iterable[tuple[str , typing.Any, dataclasses.Field]]
306
127
:canonical: autodoc2.config.PackageConfig.as_triple
307
128
313
134
.. autodoc2-docstring :: autodoc2.config._coerce_packages
314
135
:parser:
315
136
316
- .. py :function :: _validate_string_list(name: str , item: typing.Any) -> list[str ]
317
- :canonical: autodoc2.config._validate_string_list
318
-
319
- .. autodoc2-docstring :: autodoc2.config._validate_string_list
320
- :parser:
321
-
322
137
.. py :function :: _validate_replace_list(name: str , item: typing.Any) -> list[typing.Tuple[str , str ]]
323
138
:canonical: autodoc2.config._validate_replace_list
324
139
374
189
375
190
.. autodoc2-docstring :: autodoc2.config.Config.output_dir
376
191
377
- .. py :attribute :: exclude_dirs
378
- :canonical: autodoc2.config.Config.exclude_dirs
379
- :type: list[str]
380
- :value: None
381
-
382
- .. autodoc2-docstring :: autodoc2.config.Config.exclude_dirs
383
-
384
- .. py :attribute :: exclude_files
385
- :canonical: autodoc2.config.Config.exclude_files
386
- :type: list[str]
387
- :value: None
388
-
389
- .. autodoc2-docstring :: autodoc2.config.Config.exclude_files
390
-
391
192
.. py :attribute :: render_plugin
392
193
:canonical: autodoc2.config.Config.render_plugin
393
194
:type: type[autodoc2.render.base.RendererBase]
511
312
:canonical: autodoc2.config.Config.as_triple
512
313
513
314
.. autodoc2-docstring :: autodoc2.config.Config.as_triple
514
-
515
- .. py :method :: to_render_config(pkg_index: int | None ) -> autodoc2.config.RenderConfig
516
- :canonical: autodoc2.config.Config.to_render_config
517
-
518
- .. autodoc2-docstring :: autodoc2.config.Config.to_render_config
0 commit comments