diff --git a/docstring-format.mustache b/docstring-format.mustache index 9a318e0..7fc2a20 100644 --- a/docstring-format.mustache +++ b/docstring-format.mustache @@ -4,35 +4,35 @@ {{extendedSummaryPlaceholder}} Example: - [example] + [example] {{#parametersExist}} Args: {{#args}} - {{var}} ({{typePlaceholder}}): {{descriptionPlaceholder}} + {{var}} ({{typePlaceholder}}): {{descriptionPlaceholder}} {{/args}} {{#kwargs}} - {{var}} ({{typePlaceholder}}, optional): {{descriptionPlaceholder}}. Defaults to {{&default}}. + {{var}} ({{typePlaceholder}}, optional): {{descriptionPlaceholder}}. Defaults to {{&default}}. {{/kwargs}} {{/parametersExist}} {{#exceptionsExist}} Raises: {{#exceptions}} - {{type}}: {{descriptionPlaceholder}} + {{type}}: {{descriptionPlaceholder}} {{/exceptions}} {{/exceptionsExist}} {{#returnsExist}} Returns: {{#returns}} - {{typePlaceholder}}: {{descriptionPlaceholder}} + {{typePlaceholder}}: {{descriptionPlaceholder}} {{/returns}} {{/returnsExist}} {{#yieldsExist}} Yields: {{#yields}} - {{typePlaceholder}}: {{descriptionPlaceholder}} + {{typePlaceholder}}: {{descriptionPlaceholder}} {{/yields}} {{/yieldsExist}} \ No newline at end of file