|
|
|
``{{event.type}}``
|
|
|
|
{{(4 + event.type | length) * title_kind}}
|
|
|
|
*{{event.typeof}}*
|
|
|
|
{{event.typeof_info}}
|
|
|
|
|
|
|
|
{{event.desc | wrap(80)}}
|
|
|
|
{% for table in event.content_fields -%}
|
|
|
|
{{"``"+table.title+"``" if table.title else "" }}
|
|
|
|
|
|
|
|
======================= ================= ===========================================
|
|
|
|
{{table.title or "Content"}} Key Type Description
|
|
|
|
======================= ================= ===========================================
|
|
|
|
{% for row in table.rows -%}
|
|
|
|
{# -#}
|
|
|
|
{# Row type needs to prepend spaces to line up with the type column (19 ch) -#}
|
|
|
|
{# Desc needs to prepend the required text (maybe) and prepend spaces too -#}
|
|
|
|
{# It also needs to then wrap inside the desc col (43 ch width) -#}
|
|
|
|
{# -#}
|
|
|
|
{{row.key}}{{row.type|indent(24-row.key|length)}}{{row.desc|wrap(43,row.req_str | indent(18 - (row.type|length))) |indent_block(42)}}
|
|
|
|
{% endfor -%}
|
|
|
|
======================= ================= ===========================================
|
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
Example:
|
|
|
|
|
|
|
|
.. code:: json
|
|
|
|
|
|
|
|
{{example | jsonify(4, 4)}}
|