From ef15a92ffa0f9593afec5180f7ce235c7b205559 Mon Sep 17 00:00:00 2001 From: Freddy Boulton Date: Tue, 26 Jul 2022 11:35:08 -0400 Subject: [PATCH] Make supported events orange (#1879) --- website/homepage/src/docs/obj_doc_template.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/website/homepage/src/docs/obj_doc_template.html b/website/homepage/src/docs/obj_doc_template.html index e4848ed21c..c6f438e577 100644 --- a/website/homepage/src/docs/obj_doc_template.html +++ b/website/homepage/src/docs/obj_doc_template.html @@ -50,14 +50,15 @@ {% endif %}

{{ obj["description"] }}

+
{% if is_component %} -

As input, {{ obj["tags"]["preprocessing"] }}

-

As output, {{ obj["tags"]["postprocessing"] }}

+

As input: {{ obj["tags"]["preprocessing"] }}

+

As output: {{ obj["tags"]["postprocessing"] }}

{% if "examples-format" in obj["tags"] %} -

Format expected for examples: {{ obj["tags"]["examples-format"] }}

+

Format expected for examples: {{ obj["tags"]["examples-format"] }}

{% endif %} {% if obj["events"]|length > 0 %} -

Supported events: {{ obj["events"] }}

+

Supported events: {{ obj["events"] }}

{% endif %} {% endif %}