Skip to content

Commit

Permalink
Update instance.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lzehl committed Mar 8, 2024
1 parent e4dc1e9 commit d2823c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pipeline/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,9 @@ def _build_simple_instances(self, docpath:str, instances_ids:List, schemadir:str
doc.heading(subtitle, char="-")
doc.newline()
doc.directive(name="admonition", arg="metadata sheet")
doc.newline()
field_list_indent = 3
doc.content(":class: dropdown", indent=field_list_indent)
doc.newline()
for prop, value in sorted(instance_data.items()):
if type(value) == str:
doc.field(name=prop, value=str(value), indent=field_list_indent)
Expand Down

0 comments on commit d2823c5

Please sign in to comment.