mirror of
https://github.com/docker/docs.git
synced 2026-04-12 14:25:46 +07:00
Merge pull request #19411 from dvdksn/cli-hoist-stub-content
cli: hoist content in CLI stubs to top
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
<h1 class="scroll-mt-36">{{ .Title }}</h1>
|
||||
{{ end }}
|
||||
{{ $data.short | .RenderString (dict "display" "block") }}
|
||||
{{ .Content }}
|
||||
{{ if $data.deprecated }}
|
||||
<blockquote class="warning">
|
||||
<p><strong>This command is deprecated</strong></p>
|
||||
@@ -161,7 +162,6 @@
|
||||
{{ end }}
|
||||
{{ $.RenderString (dict "display" "block") . }}
|
||||
{{ end }}
|
||||
{{ .Content }}
|
||||
</article>
|
||||
{{ end }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user