File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## 1.14.0
4
4
5
- - Added ` document_defaults ` config option allowing to automatically annotate parameter defaults.
5
+ - Added ` typehints_defaults ` config option allowing to automatically annotate parameter defaults.
6
6
7
7
## 1.13.1
8
8
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ The following configuration options are accepted:
61
61
` True ` , add stub documentation for undocumented parameters to be able to add type info.
62
62
- ` typehints_document_rtype ` (default: ` True ` ): If ` False ` , never add an ` :rtype: ` directive. If ` True ` , add the
63
63
` :rtype: ` directive if no existing ` :rtype: ` is found.
64
- - ` document_defaults ` (default: ` None ` ): If ` None ` , defaults are not added. Otherwise adds a default annotation:
64
+ - ` typehints_defaults ` (default: ` None ` ): If ` None ` , defaults are not added. Otherwise adds a default annotation:
65
65
66
66
- ` 'comma' ` adds it after the type, changing Sphinx’ default look to “** param** (* int* , default: ` 1 ` ) -- text”.
67
67
- ` 'braces' ` adds ` (default: ...) ` after the type (useful for numpydoc like styles).
You can’t perform that action at this time.
0 commit comments