From f70aab07471bd37fee551c027d834538a647fb1b Mon Sep 17 00:00:00 2001 From: Sierra Taylor Moxon Date: Mon, 27 Nov 2023 16:54:21 -0800 Subject: [PATCH] italicize description --- src/doc-templates/class.md.jinja2 | 2 +- src/doc-templates/slot.md.jinja2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/doc-templates/class.md.jinja2 b/src/doc-templates/class.md.jinja2 index 7a028e229..de4829af6 100644 --- a/src/doc-templates/class.md.jinja2 +++ b/src/doc-templates/class.md.jinja2 @@ -1,6 +1,6 @@ # Class: {{ gen.name(element) }} {% if element.deprecated %} (DEPRECATED) {% endif %}{% if element.abstract %} (Abstract Class) : {% endif %} {% if element.description or element.aliases or element.multivalued or element.required or element.domain or element.range or element.inverse %} -
Description: {{ element.description }}
+
Description: {{ element.description }}

{% if element.aliases %}Aliases: {{ element.aliases | join(', ') }}
{% endif -%} {% if element.multivalued %}Multivalued: {{ element.multivalued }}
{% endif -%} {% if element.required %}Required: {{ element.required }}
{% endif %} diff --git a/src/doc-templates/slot.md.jinja2 b/src/doc-templates/slot.md.jinja2 index 3a9e1457c..fff0ac788 100644 --- a/src/doc-templates/slot.md.jinja2 +++ b/src/doc-templates/slot.md.jinja2 @@ -1,6 +1,6 @@ # Slot: {{ gen.name(element) }} {% if element.deprecated %} (DEPRECATED) {% endif %}{% if element.abstract %} (Abstract Slot) {% 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 %} -
Description: {{ element.description }}
+
Description: {{ element.description }}

{% if element.aliases %} Aliases: {{ element.aliases | join(', ') }}
{% endif -%} {% if element.domain %}Domain: {{ element.domain }}
{% endif %} {% if element.range %}Range: {{ element.range }}
{% endif %}