Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Commit

Permalink
Render comments (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterKraus authored Apr 10, 2024
1 parent 3dd2717 commit 11e051c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/source/_templates/enum.md.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -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='<br/>')}} |
| {{pv.text}} | {{pv.description | wordwrap(80, wrapstring='<br/>')}} | {{pv.comments| join(' ') | wordwrap(80, wrapstring='<br/>')}} |
{% endfor %}
{% else %}
_This is a dynamic enum_
Expand Down
2 changes: 1 addition & 1 deletion schemas/base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 11e051c

Please sign in to comment.