compiler-core/templates/documentation_module.html
{% extends "documentation_layout.html" %} {% block sidebar_content %} {% if !types.is_empty() %}
{% for typ in types %} - {{ typ.name }} {% endfor %} {% endif %} {% if !values.is_empty() %}
{% for value in values %} - {{ value.name }} {% endfor %} {% endif %} {% endblock %} {% block content %}
{{ documentation|safe }} {% if !types.is_empty() %}
{% for typ in types %}
{% if typ.opaque %} opaque {% endif %} {% if !typ.source_url.is_empty() %} </> {% endif %} {% if !typ.deprecation_message.is_empty() %}
Deprecated: {{ typ.deprecation_message }}
{% endif %}
{{ typ.documentation|safe }}
{{ typ.definition|safe }}
{% if !typ.constructors.is_empty() %}
{% for constructor in typ.constructors %} -
{{ constructor.definition|safe }}
{{ constructor.documentation|safe }} {% if !constructor.arguments.is_empty() %}
{% for argument in constructor.arguments %} {{ argument.name }} {{ argument.doc|safe }} {% endfor %} {% endif %} {% endfor %} {% endif %}
{% endfor %}{% endif %} {% if !values.is_empty() %}
{% for value in values %}
{% if !value.source_url.is_empty() %} </> {% endif %}
{{ value.definition|safe }}
{% if !value.deprecation_message.is_empty() %}
Deprecated: {{ value.deprecation_message }}
{% endif %} {{ value.documentation|safe }}
{% endfor %}{% endif %} {% endblock %}