From 11e051c40b80256833ae559eb62c79778b59465d Mon Sep 17 00:00:00 2001 From: Peter Kraus Date: Wed, 10 Apr 2024 14:07:53 +0200 Subject: [PATCH] Render comments (#56) --- docs/source/_templates/enum.md.jinja2 | 4 ++-- schemas/base.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/_templates/enum.md.jinja2 b/docs/source/_templates/enum.md.jinja2 index b6c76fc..1a87e88 100644 --- a/docs/source/_templates/enum.md.jinja2 +++ b/docs/source/_templates/enum.md.jinja2 @@ -20,10 +20,10 @@ URI: {{ gen.uri_link(element) }} {% if element.permissible_values -%} ## Permissible Values -| Value | Meaning | Description | +| Value | Description | Comments | | --- | --- | --- | {% for pv in element.permissible_values.values() -%} -| {{pv.text}} | {{pv.meaning}} | {{pv.description | wordwrap(80, wrapstring='
')}} | +| {{pv.text}} | {{pv.description | wordwrap(80, wrapstring='
')}} | {{pv.comments| join(' ') | wordwrap(80, wrapstring='
')}} | {% endfor %} {% else %} _This is a dynamic enum_ diff --git a/schemas/base.yaml b/schemas/base.yaml index 6c4d02f..e4f15ec 100644 --- a/schemas/base.yaml +++ b/schemas/base.yaml @@ -285,7 +285,7 @@ enums: meta-only: description: >- This usage scope only returns metadata associated with the file, - with the interpretatio of "metadata" left up to the `Extractor`. + with the interpretation of "metadata" left up to the `Extractor`. comments: - >- This may include, but is not limited to: