Skip to content

Commit

Permalink
docs: multiline help (evcc-io#17523)
Browse files Browse the repository at this point in the history
  • Loading branch information
naltatis authored Dec 4, 2024
1 parent 55d3c8e commit d01c39f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/templates/documentation.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{- range .Values }}
- {{ . }}
{{- end }}
{{- $help := localize .Help -}}
{{- $help := localize .Help | replace "\n" " " -}}
{{- if $help }} # {{ $help }}{{- end }}{{- if not .IsRequired }}{{ if not $help }} # {{ else }} ({{ end }}optional{{ if $help }}){{ end }}{{ end }}
{{- end }}

Expand Down

0 comments on commit d01c39f

Please sign in to comment.