| 1 |
{#- Summary of attributes. -#} |
| 2 |
|
| 3 |
{% block logs scoped %} |
| 4 |
{#- Logging block. |
| 5 |
|
| 6 |
This block can be used to log debug messages, deprecation messages, warnings, etc. |
| 7 |
-#} |
| 8 |
{% endblock logs %} |
| 9 |
|
| 10 |
{% if not obj.docstring.parsed | selectattr("kind.value", "eq", "attributes") | list %} |
| 11 |
{% with section = obj.attributes |
| 12 |
|filter_objects( |
| 13 |
filters=config.filters, |
| 14 |
members_list=members_list, |
| 15 |
inherited_members=config.inherited_members, |
| 16 |
keep_no_docstrings=config.show_if_no_docstring, |
| 17 |
) |
| 18 |
|order_members(config.members_order, members_list) |
| 19 |
|as_attributes_section(check_public=not members_list) |
| 20 |
%} |
| 21 |
{% if section %}{% include "docstring/attributes.html.jinja" with context %}{% endif %} |
| 22 |
{% endwith %} |
| 23 |
{% endif %} |