File tree Expand file tree Collapse file tree
src/griffe2md/templates/docstring Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55Type | Description
66---- | -----------
7- {% - for raises in section .value %}
7+ {% for raises in section .value %}
88{% - if raises .annotation -%}{% - with expression = raises .annotation -%} <code >{% - include "expression.md.jinja" with context -%} </code >{% - endwith -%}{% - endif -%} | {{ raises.description }}
9- {% - endfor - %}
9+ {% endfor %}
1010
1111{% - elif config .docstring_section_style == "list" %}
1212
Original file line number Diff line number Diff line change 55
66{% if name_column -%} Name | {% endif -%} Type | Description
77{% if name_column -%} ---- | {% endif -%} ---- | -----------
8- {% - for receives in section .value %}
8+ {% for receives in section .value %}
99{% - if name_column -%}{% - if receives .name -%} `{{ receives.name }}`{% - endif %} | {% endif %}{% if receives .annotation -%}{% - with expression = receives .annotation -%} <code >{% - include "expression.md.jinja" with context -%} </code >{% - endwith -%}{% - endif %} | {{ receives.description }}
10- {% - endfor - %}
10+ {% endfor %}
1111
1212{% - elif config .docstring_section_style == "list" %}
1313
Original file line number Diff line number Diff line change 55
66{% if name_column -%} Name | {% endif -%} Type | Description
77{% if name_column -%} ---- | {% endif -%} ---- | -----------
8- {% - for returns in section .value %}
8+ {% for returns in section .value %}
99{% - if name_column -%}{% - if returns .name -%} `{{ returns.name }}`{% - endif %} | {% endif %}{% if returns .annotation -%}{% - with expression = returns .annotation -%} <code >{% - include "expression.md.jinja" with context -%} </code >{% - endwith -%}{% - endif %} | {{ returns.description }}
10- {% - endfor - %}
10+ {% endfor %}
1111
1212{% - elif config .docstring_section_style == "list" %}
1313
Original file line number Diff line number Diff line change 44
55Type | Description
66---- | -----------
7- {% - for warns in section .value %}
7+ {% for warns in section .value %}
88{% - if warns .annotation -%}{% - with expression = warns .annotation -%} <code >{% - include "expression.md.jinja" with context -%} </code >{% - endwith -%}{% - endif -%} | {{ warns.description }}
9- {% - endfor - %}
9+ {% endfor %}
1010
1111{% - elif config .docstring_section_style == "list" %}
1212
Original file line number Diff line number Diff line change 55
66{% if name_column -%} Name | {% endif -%} Type | Description
77{% if name_column -%} ---- | {% endif -%} ---- | -----------
8- {% - for yields in section .value %}
8+ {% for yields in section .value %}
99{% - if name_column -%}{% - if yields .name -%} `{{ yields.name }}`{% - endif %} | {% endif -%}{% - if yields .annotation -%}{% - with expression = yields .annotation -%} <code >{% - include "expression.md.jinja" with context -%} </code >{% - endwith -%}{% - endif %} | {{ yields.description }}
10- {% - endfor - %}
10+ {% endfor %}
1111
1212{% - elif config .docstring_section_style == "list" %}
1313
You can’t perform that action at this time.
0 commit comments