aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorJaewoong Jung <jungjw@google.com>2019-03-13 10:40:57 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-03-13 10:40:57 -0700
commit9b4cd0c39b1e2cc15c07b79a988f76e8adaf1c02 (patch)
tree94c50fe4aceacb5aefb7cd118c96a9878725c43b /cmd
parent0f4065c6b22f307861b66f621873ed907e51b583 (diff)
parent8c822915fb2cc20ef1593c5b82070b7e305291fe (diff)
downloadbuild_soong-9b4cd0c39b1e2cc15c07b79a988f76e8adaf1c02.tar.gz
build_soong-9b4cd0c39b1e2cc15c07b79a988f76e8adaf1c02.tar.bz2
build_soong-9b4cd0c39b1e2cc15c07b79a988f76e8adaf1c02.zip
Build doc improvements. am: 12c02a63d0 am: dde127fdb6
am: 8c822915fb Change-Id: If8b0c3432f659b0739f92cf07f4a0020a6c1cbd8
Diffstat (limited to 'cmd')
-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}}