Merge pull request #2464 from infosiftr/breathe
Add newlines between tag groups so they get better line-spacing
This commit is contained in:
commit
adfacb9d8f
|
|
@ -13,7 +13,7 @@ if [ -z "${BASHBREW_LIBRARY:-}" ]; then
|
|||
repo="https://github.com/docker-library/official-images/raw/master/library/$repo"
|
||||
fi
|
||||
|
||||
if [ -n "$ARCH_SPECIFIC_DOCS" ] && archTags="$(bashbrew cat --format '{{ range .Entries }}{{ if .HasArchitecture arch }}{{ .Tags | first }}{{ "\n" }}{{ end }}{{ end }}' "$repo")" && [ -z "$archTags" ]; then
|
||||
if [ -n "$ARCH_SPECIFIC_DOCS" ] && archTags="$(bashbrew list --uniq --arch-filter "$repo")" && [ -z "$archTags" ]; then
|
||||
echo "**WARNING:** THIS IMAGE *IS NOT SUPPORTED* ON THE \`$BASHBREW_ARCH\` ARCHITECTURE"
|
||||
exit
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -33,16 +33,13 @@ This template defines the "Supported tags and Dockerfile links" portion of an im
|
|||
{{- $url = $url | ternary $url (hasPrefix "https://git.launchpad.net/" $repoUrlBase | ternary (print $repoUrlBase "/tree/" $dockerfilePath "?h=" ($e.ArchGitFetch $arch) "&id=" $gitCommit) "") -}}
|
||||
{{- /* TODO decide what to do (if anything) about other non-GitHub repos with respect to URL */ -}}
|
||||
|
||||
{{- if $i -}}
|
||||
{{- "\n" -}}
|
||||
{{- end -}}
|
||||
|
||||
- {{- "\t" -}}
|
||||
{{- if $url -}} [ {{- end -}}
|
||||
` {{- $e.Tags | join "`, `" -}} `
|
||||
{{- if $url -}} ]( {{- $url -}} ) {{- end -}}
|
||||
|
||||
{{- "\n\n" -}}
|
||||
{{- end -}}
|
||||
{{- "\n\n" -}}
|
||||
|
||||
{{- if (len $sharedTagGroups) -}}
|
||||
{{- "## Shared Tags\n\n" -}}
|
||||
|
|
@ -53,7 +50,7 @@ This template defines the "Supported tags and Dockerfile links" portion of an im
|
|||
{{- if (len $entries) -}}
|
||||
{{- "-\t`" -}}
|
||||
{{ .SharedTags | join "`, `" }}
|
||||
{{- "`:\n" -}}
|
||||
{{- "`:\n\n" -}}
|
||||
|
||||
{{- range $i, $e := $entries -}}
|
||||
{{- $arch := $archSpecific | ternary arch ($e.HasArchitecture arch | ternary arch ($e.Architectures | first)) -}}
|
||||
|
|
@ -81,6 +78,7 @@ This template defines the "Supported tags and Dockerfile links" portion of an im
|
|||
|
||||
{{- "\n" -}}
|
||||
{{- end -}}
|
||||
{{- "\n" -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- "\n" -}}
|
||||
|
|
|
|||
Loading…
Reference in New Issue