Fix API reference page to show initial-value of variables and slots of structs.

This commit is contained in:
Eitaro Fukamachi 2015-07-21 02:54:31 +09:00
parent 20059905b8
commit e504250249

View file

@ -65,9 +65,10 @@
</span> </span>
{% endif %} {% endif %}
{% if symbol.initial-value %} {% if symbol.initial-value %}
<span class="initial-value">{{ symbol.initial-value }}</span>
{% endif %} {% endif %}
<div class="docstring">{{ symbol.docstring }}</div> <div class="docstring">{{ symbol.docstring }}</div>
{% if symbol.type == "class" %} {% if symbol.type == "class" or symbol.type == "struct" %}
{% if symbol.slots %} {% if symbol.slots %}
<dl class="slot-list"> <dl class="slot-list">
{% for slot in symbol.slots %} {% for slot in symbol.slots %}