From e5c2e097d49d4082f0a75c9d90dc0a0f23db20cb Mon Sep 17 00:00:00 2001 From: Sierra Taylor Moxon Date: Mon, 27 Nov 2023 16:49:12 -0800 Subject: [PATCH] add back in slot and class to named things --- 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 ca9cfc43ee..7a028e2292 100644 --- a/src/doc-templates/class.md.jinja2 +++ b/src/doc-templates/class.md.jinja2 @@ -1,4 +1,4 @@ -# {{ gen.name(element) }} {% if element.deprecated %} (DEPRECATED) {% endif %}{% if element.abstract %} (Abstract Class) : {% endif %} +# 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 }}
{% if element.aliases %}Aliases: {{ element.aliases | join(', ') }}
{% endif -%} diff --git a/src/doc-templates/slot.md.jinja2 b/src/doc-templates/slot.md.jinja2 index eaf51c7fbc..3a9e1457c8 100644 --- a/src/doc-templates/slot.md.jinja2 +++ b/src/doc-templates/slot.md.jinja2 @@ -1,4 +1,4 @@ -# {{ gen.name(element) }} {% if element.deprecated %} (DEPRECATED) {% endif %}{% if element.abstract %} (Abstract Slot) {% endif %}{% if element.multivalued %} (multivalued){% endif -%} +# 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 }}
{% if element.aliases %} Aliases: {{ element.aliases | join(', ') }}
{% endif -%}