kopia lustrzana https://github.com/bellingcat/auto-archiver
22 wiersze
431 B
ReStructuredText
22 wiersze
431 B
ReStructuredText
{% if obj.display %}
|
|
{% if is_own_page %}
|
|
{{ obj.id }}
|
|
{{ "=" * obj.id | length }}
|
|
|
|
{% endif %}
|
|
.. py:property:: {% if is_own_page %}{{ obj.id}}{% else %}{{ obj.short_name }}{% endif %}
|
|
{% if obj.annotation %}
|
|
|
|
:type: {{ obj.annotation }}
|
|
{% endif %}
|
|
{% for property in obj.properties %}
|
|
|
|
:{{ property }}:
|
|
{% endfor %}
|
|
|
|
{% if obj.docstring %}
|
|
|
|
{{ obj.docstring|indent(3) }}
|
|
{% endif %}
|
|
{% endif %}
|