Commit 5eef398f authored by Emmanuele Bassi's avatar Emmanuele Bassi

template: Add summaries for inherited symbols in a class

Fixes: #40
parent 77601afb
......@@ -173,11 +173,9 @@
{% for method in class.methods %}
<div class="{% if method.deprecated_since %}deprecated{% endif %}">
<h6><a href="method.{{ class.name}}.{{ method.name }}.html">{{ method.identifier }}</a></h6>
<div class="docblock">
{{ method.summary }}
</div>
{% if method.available_since or method.deprecated_since -%}
<div class="docblock">
{%- if method.available_since -%}
......@@ -201,6 +199,19 @@
<div class="docblock">
{% for method in ancestor.methods %}
<h6><a href="method.{{ ancestor.name }}.{{ method.name }}.html">{{ method.identifier }}</a></h6>
<div class="docblock">
{{ method.summary }}
</div>
{% if method.available_since or method.deprecated_since -%}
<div class="docblock">
{%- if method.available_since -%}
<p>Available since: {{ method.available_since }}</p>
{%- endif -%}
{%- if method.deprecated_since -%}
<p>Deprecated since: {{ method.deprecated_since }}</p>
{%- endif -%}
</div>
{%- endif %}
{% endfor %}
</div>
{% endif %}
......@@ -217,6 +228,19 @@
<div class="docblock">
{% for method in iface.methods %}
<h6><a href="method.{{ iface.name }}.{{ method.name }}.html">{{ method.identifier }}</a></h6>
<div class="docblock">
{{ method.summary }}
</div>
{% if method.available_since or method.deprecated_since -%}
<div class="docblock">
{%- if method.available_since -%}
<p>Available since: {{ method.available_since }}</p>
{%- endif -%}
{%- if method.deprecated_since -%}
<p>Deprecated since: {{ method.deprecated_since }}</p>
{%- endif -%}
</div>
{%- endif %}
{% endfor %}
</div>
{% endif %}
......@@ -265,6 +289,19 @@
<div class="docblock">
{% for property in ancestor.properties %}
<h6><a href="property.{{ ancestor.name }}.{{ property.name }}.html">{{ ancestor.fqtn }}:{{ property.name }}</a></h6>
<div class="docblock">
{{ property.summary }}
</div>
{% if property.available_since or property.deprecated_since -%}
<div class="docblock">
{%- if property.available_since -%}
<p>Available since: {{ property.available_since }}</p>
{%- endif -%}
{%- if property.deprecated_since -%}
<p>Deprecated since: {{ property.deprecated_since }}</p>
{%- endif -%}
</div>
{%- endif %}
{% endfor %}
</div>
{% endif %}
......@@ -281,6 +318,19 @@
<div class="docblock">
{% for property in iface.properties %}
<h6><a href="property.{{ iface.name }}.{{ property.name }}.html">{{ iface.fqtn }}:{{ property.name }}</a></h6>
<div class="docblock">
{{ property.summary }}
</div>
{% if property.available_since or property.deprecated_since -%}
<div class="docblock">
{%- if property.available_since -%}
<p>Available since: {{ property.available_since }}</p>
{%- endif -%}
{%- if property.deprecated_since -%}
<p>Deprecated since: {{ property.deprecated_since }}</p>
{%- endif -%}
</div>
{%- endif %}
{% endfor %}
</div>
{% endif %}
......@@ -302,11 +352,9 @@
{% for signal in class.signals %}
<div class="{% if signal.deprecated_since %}deprecated{% endif %}">
<h6><a href="signal.{{ class.name }}.{{ signal.name }}.html">{{ class.fqtn }}::{{ signal.name }}</a></h6>
<div class="docblock">
{{ signal.summary }}
</div>
{% if signal.available_since or signal.deprecated_since -%}
<div class="docblock">
{%- if signal.available_since -%}
......@@ -330,6 +378,19 @@
<div class="docblock">
{% for signal in ancestor.signals %}
<h6><a href="signal.{{ ancestor.name }}.{{ signal.name }}.html">{{ ancestor.fqtn }}::{{ signal.name }}</a></h6>
<div class="docblock">
{{ signal.summary }}
</div>
{% if signal.available_since or signal.deprecated_since -%}
<div class="docblock">
{%- if signal.available_since -%}
<p>Available since: {{ signal.available_since }}</p>
{%- endif -%}
{%- if signal.deprecated_since -%}
<p>Deprecated since: {{ signal.deprecated_since }}</p>
{%- endif -%}
</div>
{%- endif %}
{% endfor %}
</div>
{% endif %}
......@@ -346,6 +407,19 @@
<div class="docblock">
{% for signal in iface.signals %}
<h6><a href="signal.{{ iface.name }}.{{ signal.name }}.html">{{ iface.fqtn }}::{{ signal.name }}</a></h6>
<div class="docblock">
{{ signal.summary }}
</div>
{% if signal.available_since or signal.deprecated_since -%}
<div class="docblock">
{%- if signal.available_since -%}
<p>Available since: {{ signal.available_since }}</p>
{%- endif -%}
{%- if signal.deprecated_since -%}
<p>Deprecated since: {{ signal.deprecated_since }}</p>
{%- endif -%}
</div>
{%- endif %}
{% endfor %}
</div>
{% endif %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment