You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
508 B
18 lines
508 B
{% for section_name, section in document_dictionary.items() -%}
|
|
{{ '' if loop.first else '\n' -}}
|
|
{% if '#' in section.keys() -%}
|
|
{% for comment in section['#'] -%}
|
|
{{ comment }}
|
|
{% endfor -%}
|
|
{% endif -%}
|
|
[{{ section_name[0] + section_name[1:] | join('][') }}]
|
|
{% for parameter_name, value in section.items() -%}
|
|
{% if parameter_name != '#' -%}
|
|
{% for comment in value[:-1] -%}
|
|
{{ comment }}
|
|
{% endfor -%}
|
|
{{ parameter_name[0] + parameter_name[1] }}={{ value[-1] }}
|
|
{% endif -%}
|
|
{% endfor -%}
|
|
{% endfor -%}
|