Core: generate templates faster and "cleaner" (#5019)

This commit is contained in:
Fabian Dill
2025-05-22 00:45:49 +02:00
committed by GitHub
parent a409167f64
commit 6827368e60
2 changed files with 10 additions and 8 deletions

View File

@@ -51,10 +51,9 @@ requires:
{%- for option_key, option in group_options.items() %}
{{ option_key }}:
{%- if option.__doc__ %}
# {{ option.__doc__
# {{ cleandoc(option.__doc__)
| trim
| replace('\n\n', '\n \n')
| replace('\n ', '\n# ')
| replace('\n', '\n# ')
| indent(4, first=False)
}}
{%- endif -%}