{# One task's detail, as a fragment. Everything here is project-authored text -- a task name, a description, a declared table, a source path -- and every one of them is autoescaped. ``docs_html`` is the single exception, and it is the output of ``kptn_server.markdown``, built with ``{"html": False}`` so raw HTML in the Markdown source arrived as text before it ever got here. A broken ``docs`` reference is rendered as a visible error rather than an empty panel: a blank docs section is indistinguishable from a task that documented nothing, so the author would never learn the path is wrong. #}

{{ item.name }}

{{ item.kind }} {%- if item.sequence is not none %} · step {{ item.sequence }}{% endif %} {%- if item.bypassed %} · bypassed by this profile{% endif %}

Description
{{ item.description or not_documented }}
Inputs
{% if item.inputs %}
    {% for input in item.inputs %}
  • {{ input }}
  • {% endfor %}
{% else %}{{ not_documented }}{% endif %}
Outputs
{% if item.outputs %}
    {% for output in item.outputs %}
  • {{ output }} {%- for link in output_links.get(output, []) %} {{ link.label }} {%- endfor %}
  • {% endfor %}
{% else %}{{ not_documented }}{% endif %}
Source
{% if source_reference %}{{ source_reference }}{% else %}{{ not_documented }}{% endif %}
Runs after
{% if item.predecessors %} {% for name in item.predecessors %}{{ name }}{% if not loop.last %}, {% endif %}{% endfor %} {% else %}nothing{% endif %}
Runs before
{% if item.successors %} {% for name in item.successors %}{{ name }}{% if not loop.last %}, {% endif %}{% endfor %} {% else %}nothing{% endif %}

Documentation

{% if docs_error %} {% elif docs_html %}
{{ docs_html }}
{% else %}

{{ not_documented }}

{% endif %}