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
Copy file name to clipboardExpand all lines: docs/reference/docstrings.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,6 +128,8 @@ The parser accepts a few options:
128
128
-`returns_type_in_property_summary`: Whether to parse the return type of properties at the beginning of their summary: `str: Summary of the property`. Default: false.
129
129
-`trim_doctest_flags`: Remove the [doctest flags] written as comments in `pycon` snippets within a docstring. These flags are used to alter the behavior of [doctest] when testing docstrings, and should not be visible in your docs. Default: true.
130
130
-`warn_unknown_params`: Warn about parameters documented in docstrings that do not appear in the signature. Default: true.
131
+
-`warn_missing_types`: Warn about missing type or annotation for parameters, return values, etc. Default: true.
132
+
-`warnings`: Generally enable/disable warnings when parsing docstrings. Default: true.
131
133
132
134
### Sections {#google-sections}
133
135
@@ -823,6 +825,8 @@ The parser accepts a few options:
823
825
-`ignore_init_summary`: Ignore the first line in`__init__` methods' docstrings. Useful when merging `__init__` docstring into class' docstrings with mkdocstrings-python's [`merge_init_into_class`][merge_init] option. Default: false.
824
826
-`trim_doctest_flags`: Remove the [doctest flags] written as comments in`pycon` snippets within a docstring. These flags are used to alter the behavior of [doctest] when testing docstrings, and should not be visible in your docs. Default: true.
825
827
-`warn_unknown_params`: Warn about parameters documented in docstrings that do not appear in the signature. Default: true.
828
+
-`warn_missing_types`: Warn about missing typeor annotation for parameters, return values, etc. Default: true.
829
+
-`warnings`: Generally enable/disable warnings when parsing docstrings. Default: true.
0 commit comments