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>
{% endif %}
{% if symbol.initial-value %}
<span class="initial-value">{{ symbol.initial-value }}</span>
{% endif %}
<div class="docstring">{{ symbol.docstring }}</div>
{% if symbol.type == "class" %}
{% if symbol.type == "class" or symbol.type == "struct" %}
{% if symbol.slots %}
<dl class="slot-list">
{% for slot in symbol.slots %}