Merge pull request #19411 from dvdksn/cli-hoist-stub-content

cli: hoist content in CLI stubs to top
This commit is contained in:
David Karlsson
2024-02-15 19:25:59 +01:00
committed by GitHub

View File

@@ -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 }}