fix: rendering issue w/ experimental labs include (#22190)

## Description
- Rendering issue with includes that contain shortcodes:
https://docs.docker.com/build/buildkit/dockerfile-release-notes/#130-labs
- Fixed by replacing with the summary bar w/ experimental label
- Also updated headings to be aligned 
- Preview:
https://deploy-preview-22190--docsdocker.netlify.app/build/buildkit/dockerfile-release-notes/

## Related issues or tickets
- Reported from @crazy-max 

## Reviews
- [ ] Technical review
- [ ] Editorial review
This commit is contained in:
Sarah Sanders 2025-03-07 10:53:10 -05:00 committed by GitHub
parent b708f987ce
commit 1b3ec1b256
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 25 additions and 31 deletions

View File

@ -1,7 +1,3 @@
--- > [!IMPORTANT]
--- >
> The labs channel gives you access to experimental Dockerfile features not yet available in the stable channel.
{{% experimental %}}
The "labs" channel provides early access to Dockerfile features that are not
yet available in the stable channel.
{{% /experimental %}}

View File

@ -28,10 +28,12 @@ The full release note for this release is available
- Fix handling of OSVersion platform property if one is set by the base image [moby/buildkit#5714](https://github.com/moby/buildkit/pull/5714) - Fix handling of OSVersion platform property if one is set by the base image [moby/buildkit#5714](https://github.com/moby/buildkit/pull/5714)
- Fix errors where a named context metadata could be resolved even if it was not reachable by the current build configuration, leading to build errors [moby/buildkit#5688](https://github.com/moby/buildkit/pull/5688) - Fix errors where a named context metadata could be resolved even if it was not reachable by the current build configuration, leading to build errors [moby/buildkit#5688](https://github.com/moby/buildkit/pull/5688)
## 1.14.0-labs ## 1.14.0 (labs)
{{< release-date date="2025-02-19" >}} {{< release-date date="2025-02-19" >}}
{{% include "dockerfile-labs-channel.md" %}}
The full release note for this release is available The full release note for this release is available
[on GitHub](https://github.com/moby/buildkit/releases/tag/dockerfile%2F1.14.0-labs). [on GitHub](https://github.com/moby/buildkit/releases/tag/dockerfile%2F1.14.0-labs).
@ -59,10 +61,12 @@ The full release note for this release is available
- Fix case where `ONBUILD` command may have run twice on inherited stage. [moby/buildkit#5593](https://github.com/moby/buildkit/pull/5593) - Fix case where `ONBUILD` command may have run twice on inherited stage. [moby/buildkit#5593](https://github.com/moby/buildkit/pull/5593)
- Fix possible missing named context replacement for child stages in Dockerfile. [moby/buildkit#5596](https://github.com/moby/buildkit/pull/5596) - Fix possible missing named context replacement for child stages in Dockerfile. [moby/buildkit#5596](https://github.com/moby/buildkit/pull/5596)
## 1.13.0-labs ## 1.13.0 (labs)
{{< release-date date="2025-01-20" >}} {{< release-date date="2025-01-20" >}}
{{% include "dockerfile-labs-channel.md" %}}
The full release note for this release is available The full release note for this release is available
[on GitHub](https://github.com/moby/buildkit/releases/tag/dockerfile%2F1.13.0-labs). [on GitHub](https://github.com/moby/buildkit/releases/tag/dockerfile%2F1.13.0-labs).
@ -121,7 +125,9 @@ The full release note for this release is available
- Enhanced progress output for secret values mounted as environment variables. [moby/buildkit#5336] - Enhanced progress output for secret values mounted as environment variables. [moby/buildkit#5336]
- Added built-in build argument `TARGETSTAGE` to expose the name of the (final) target stage for the current build. [moby/buildkit#5431] - Added built-in build argument `TARGETSTAGE` to expose the name of the (final) target stage for the current build. [moby/buildkit#5431]
### 1.11.0-labs ## 1.11.0 (labs)
{{% include "dockerfile-labs-channel.md" %}}
- `COPY --chmod` now supports non-octal values. [moby/buildkit#5380] - `COPY --chmod` now supports non-octal values. [moby/buildkit#5380]
@ -484,7 +490,7 @@ The following features have graduated from the labs channel to stable:
- Forward `FrontendInputs` to the gateway - Forward `FrontendInputs` to the gateway
## 1.1.2 (experimental) ## 1.1.2 (labs)
{{< release-date date="2019-07-31" >}} {{< release-date date="2019-07-31" >}}

View File

@ -10,7 +10,6 @@
"-mt-0.5", "-mt-0.5",
"-mt-4", "-mt-4",
"-mt-8", "-mt-8",
"-top-16",
"-v", "-v",
"-z-10", "-z-10",
".NET", ".NET",
@ -25,8 +24,6 @@
"Bake", "Bake",
"Bash", "Bash",
"Before", "Before",
"BitBucket-Pipelines",
"Buildkite",
"CLI", "CLI",
"CentOS-RHEL-and-Fedora", "CentOS-RHEL-and-Fedora",
"Circle-CI", "Circle-CI",
@ -38,7 +35,6 @@
"Debian", "Debian",
"Debian-GNU/Linux", "Debian-GNU/Linux",
"Diff", "Diff",
"Docker-Compose",
"Docker-Desktop", "Docker-Desktop",
"Docker-Hub", "Docker-Hub",
"Docker-Scout-Dashboard", "Docker-Scout-Dashboard",
@ -50,13 +46,11 @@
"Fedora", "Fedora",
"For-Mac-with-Apple-silicon", "For-Mac-with-Apple-silicon",
"For-Mac-with-Intel-chip", "For-Mac-with-Intel-chip",
"For-all-platforms",
"From-the-GUI", "From-the-GUI",
"From-the-command-line", "From-the-command-line",
"GUI", "GUI",
"Git-Bash", "Git-Bash",
"Git-Bash-CLI", "Git-Bash-CLI",
"GitHub-Actions",
"GitLab", "GitLab",
"Go", "Go",
"HTTP", "HTTP",
@ -104,11 +98,9 @@
"Run-Ollama-in-a-container", "Run-Ollama-in-a-container",
"Run-Ollama-outside-of-a-container", "Run-Ollama-outside-of-a-container",
"Rust", "Rust",
"Shell",
"Shell-script", "Shell-script",
"Specific-version", "Specific-version",
"Svelte", "Svelte",
"Travis-CI",
"Ubuntu", "Ubuntu",
"Unix-pipe", "Unix-pipe",
"Updated-Dockerfile", "Updated-Dockerfile",

View File

@ -23,10 +23,10 @@
<div class="flex flex-col bg-gray-light-200 bg-opacity-75 dark:bg-gray-dark-300 dark:bg-opacity-75 border-l-4 border-gray-light-200 px-4 py-1 my-1 not-prose"> <div class="flex flex-col bg-gray-light-200 bg-opacity-75 dark:bg-gray-dark-300 dark:bg-opacity-75 border-l-4 border-gray-light-200 px-4 py-1 my-1 not-prose">
{{ with $feature.subscription }} {{ with $feature.subscription }}
<div class="flex items-center gap-1"> <div class="flex flex-wrap items-start gap-1">
<span class="font-bold">Subscription:</span> <span class="font-bold whitespace-nowrap">Subscription:</span>
{{ range . }} {{ range . }}
<span>{{ . }}</span> <span class="flex-1">{{ . }}</span>
<span class="icon-svg"> <span class="icon-svg">
{{ $icon := index $subscriptionIcons . }} {{ $icon := index $subscriptionIcons . }}
{{ if $icon }} {{ if $icon }}
@ -41,9 +41,9 @@
{{ with $feature.availability }} {{ with $feature.availability }}
{{ $availabilityText := . }} {{ $availabilityText := . }}
<div class="flex items-center gap-1"> <div class="flex flex-wrap items-start gap-1">
<span class="font-bold">Availability:</span> <span class="font-bold whitespace-nowrap">Availability:</span>
<span> <span class="flex-1">
{{ $availabilityText }} {{ $availabilityText }}
{{ range $key, $icon := $availabilityIcons }} {{ range $key, $icon := $availabilityIcons }}
{{ if in $availabilityText $key }} {{ if in $availabilityText $key }}
@ -55,9 +55,9 @@
{{ end }} {{ end }}
{{ with $feature.requires }} {{ with $feature.requires }}
<div class="flex items-center gap-1"> <div class="flex flex-wrap items-start gap-1">
<span class="font-bold">Requires:</span> <span class="font-bold whitespace-nowrap">Requires:</span>
<span>{{ . | markdownify }}</span> <span class="flex-1">{{ . | markdownify }}</span>
<span class="icon-svg"> <span class="icon-svg">
{{ partial "icon" $requiresIcon }} {{ partial "icon" $requiresIcon }}
</span> </span>
@ -65,9 +65,9 @@
{{ end }} {{ end }}
{{ with $feature.for }} {{ with $feature.for }}
<div class="flex items-center gap-1"> <div class="flex flex-wrap items-start gap-1">
<span class="font-bold">For:</span> <span class="font-bold whitespace-nowrap">For:</span>
<span>{{ . }}</span> <span class="flex-1">{{ . }}</span>
<span class="icon-svg"> <span class="icon-svg">
{{ partial "icon" $forIcon }} {{ partial "icon" $forIcon }}
</span> </span>