Skip to content

Commit

Permalink
add back in slot and class to named things
Browse files Browse the repository at this point in the history
  • Loading branch information
sierra-moxon committed Nov 28, 2023
1 parent 1af0f0d commit e5c2e09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/doc-templates/class.md.jinja2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <strong> {{ gen.name(element) }} </strong> {% if element.deprecated %} <span style="color: red;"><strong> (DEPRECATED) </strong></span>{% endif %}{% if element.abstract %}<span style="color: purple;"><strong> (Abstract Class) </strong>:</span> {% endif %}
# <strong> Class: {{ gen.name(element) }} </strong> {% if element.deprecated %} <span style="color: red;"><strong> (DEPRECATED) </strong></span>{% endif %}{% if element.abstract %}<span style="color: purple;"><strong> (Abstract Class) </strong>:</span> {% endif %}
{% if element.description or element.aliases or element.multivalued or element.required or element.domain or element.range or element.inverse %}
<div class="highlight-box"> <strong>Description:</strong> {{ element.description }}<br>
{% if element.aliases %}<strong>Aliases:</strong> {{ element.aliases | join(', ') }}<br>{% endif -%}
Expand Down
2 changes: 1 addition & 1 deletion src/doc-templates/slot.md.jinja2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <strong> {{ gen.name(element) }} </strong> {% if element.deprecated %} <span style="color: red;"><strong> (DEPRECATED) </strong></span> {% endif %}{% if element.abstract %}<span style="color: purple;"><strong> (Abstract Slot) </strong></span> {% endif %}{% if element.multivalued %} (multivalued){% endif -%}
# <strong> Slot: {{ gen.name(element) }} </strong> {% if element.deprecated %} <span style="color: red;"><strong> (DEPRECATED) </strong></span> {% endif %}{% if element.abstract %}<span style="color: purple;"><strong> (Abstract Slot) </strong></span> {% endif %}{% if element.multivalued %} (multivalued){% endif -%}
{% if element.description or element.aliases or element.multivalued or element.required or element.domain or element.range or element.inverse %}
<div class="highlight-box"> <strong>Description:</strong> {{ element.description }}<br>
{% if element.aliases %} <strong>Aliases:</strong> {{ element.aliases | join(', ') }}<br>{% endif -%}
Expand Down

0 comments on commit e5c2e09

Please sign in to comment.