WebHost: sample yamls: some formatting issues

This commit is contained in:
Fabian Dill 2021-08-31 19:56:45 +02:00
parent ff2e57705e
commit ddc619f2e7
1 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ progression_balancing:
{%- for entry, default in data.items() %} {%- for entry, default in data.items() %}
{{ entry }}: {{ default }}{% if notes[entry] %} # {{ notes[entry] }}{% endif %} {{ entry }}: {{ default }}{% if notes[entry] %} # {{ notes[entry] }}{% endif %}
{%- endfor -%} {%- endfor -%}
{%- endmacro -%} {% endmacro %}
{{ game }}: {{ game }}:
{%- for option_key, option in options.items() %} {%- for option_key, option in options.items() %}
{{ option_key }}:{% if option.__doc__ %} # {{ option.__doc__ | replace('\n', '\n#') | indent(4, first=False) }}{% endif %} {{ option_key }}:{% if option.__doc__ %} # {{ option.__doc__ | replace('\n', '\n#') | indent(4, first=False) }}{% endif %}
@ -71,5 +71,5 @@ progression_balancing:
{%- else %} {%- else %}
{{ yaml_dump(option.default) | indent(4, first=False) }} {{ yaml_dump(option.default) | indent(4, first=False) }}
{%- endif -%} {%- endif -%}
{%- endfor -%} {%- endfor %}
{% if not options %}{}{% endif %} {% if not options %}{}{% endif %}