diff --git a/scripts/gendocs/templates/type.tpl b/scripts/gendocs/templates/type.tpl
index aba5b201420..75782581fd4 100644
--- a/scripts/gendocs/templates/type.tpl
+++ b/scripts/gendocs/templates/type.tpl
@@ -5,16 +5,14 @@
{{ if eq .Kind "Alias" }}({{.Underlying}} alias){{ end -}}
{{ with (typeReferences .) }}
-
- (Appears on: +
(Appears on: {{- $prev := "" -}} {{- range . -}} {{- if $prev -}}, {{ end -}} {{- $prev = . -}} {{ typeDisplayName . }} {{- end -}} - ) -
+ ) {{ end }}