semantic-conventions/templates/registry/markdown/resource_macros.j2

9 lines
297 B
Django/Jinja

{#- Macros for simplifying creating "Resource" documentation. -#}
{% import 'stability.j2' as stability %}
{% macro header(resource) %}
**Status:** {{ stability.badge(resource.stability, resource.deprecated) }}
**type:** `{{ resource.name }}`
**Description:** {{ resource.brief }}
{% endmacro %}