aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmd/soong_build/writedocs.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/soong_build/writedocs.go b/cmd/soong_build/writedocs.go
index 5171b685..d011e77f 100644
--- a/cmd/soong_build/writedocs.go
+++ b/cmd/soong_build/writedocs.go
@@ -276,8 +276,9 @@ li a:hover:not(.active) {
{{- else -}}
<div class="simple" id="{{getModule}}.{{.Name}}">
<span class="fixed">&nbsp;</span><b>{{.Name}} {{range .OtherNames}}, {{.}}{{end -}}</b>
- {{- if .Text -}}{{.Text}}{{- end -}}
- {{- with .OtherTexts -}}{{.}}{{- end -}}<i>{{.Type}}</i>
+ <i>{{.Type}}</i>
+ {{- if .Text -}}{{if ne .Text "\n"}}, {{end}}{{.Text}}{{- end -}}
+ {{- with .OtherTexts -}}{{.}}{{- end -}}
{{- if .Default -}}<i>Default: {{.Default}}</i>{{- end -}}
</div>
{{- end}}