Skip to content

Commit d5dbc77

Browse files
committed
remove dead isConfig check from pkg.tpl
1 parent c22da6f commit d5dbc77

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

site/genref/markdown/pkg.tpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,8 @@ description: Generated API reference documentation for {{ .DisplayName }}.
3030
{{ end }}
3131
{{ else }}
3232
{{/* For package w/o group name, list only types referenced. */}}
33-
{{ $isConfig := (eq .GroupName "") }}
3433
{{- range .VisibleTypes -}}
35-
{{- if or .Referenced $isConfig -}}
34+
{{- if .Referenced -}}
3635
{{ template "type" . }}
3736
{{- end -}}
3837
{{- end }}

0 commit comments

Comments
 (0)