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 @@
---
---
{{% experimental %}}
The "labs" channel provides early access to Dockerfile features that are not
yet available in the stable channel.
{{% /experimental %}}
> [!IMPORTANT]
>
> The labs channel gives you access to experimental Dockerfile features not yet available in the stable channel.

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 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" >}}
{{% include "dockerfile-labs-channel.md" %}}
The full release note for this release is available
[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 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" >}}
{{% include "dockerfile-labs-channel.md" %}}
The full release note for this release is available
[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]
- 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]
@ -484,7 +490,7 @@ The following features have graduated from the labs channel to stable:
- Forward `FrontendInputs` to the gateway
## 1.1.2 (experimental)
## 1.1.2 (labs)
{{< release-date date="2019-07-31" >}}

View File

@ -10,7 +10,6 @@
"-mt-0.5",
"-mt-4",
"-mt-8",
"-top-16",
"-v",
"-z-10",
".NET",
@ -25,8 +24,6 @@
"Bake",
"Bash",
"Before",
"BitBucket-Pipelines",
"Buildkite",
"CLI",
"CentOS-RHEL-and-Fedora",
"Circle-CI",
@ -38,7 +35,6 @@
"Debian",
"Debian-GNU/Linux",
"Diff",
"Docker-Compose",
"Docker-Desktop",
"Docker-Hub",
"Docker-Scout-Dashboard",
@ -50,13 +46,11 @@
"Fedora",
"For-Mac-with-Apple-silicon",
"For-Mac-with-Intel-chip",
"For-all-platforms",
"From-the-GUI",
"From-the-command-line",
"GUI",
"Git-Bash",
"Git-Bash-CLI",
"GitHub-Actions",
"GitLab",
"Go",
"HTTP",
@ -104,11 +98,9 @@
"Run-Ollama-in-a-container",
"Run-Ollama-outside-of-a-container",
"Rust",
"Shell",
"Shell-script",
"Specific-version",
"Svelte",
"Travis-CI",
"Ubuntu",
"Unix-pipe",
"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">
{{ with $feature.subscription }}
<div class="flex items-center gap-1">
<span class="font-bold">Subscription:</span>
<div class="flex flex-wrap items-start gap-1">
<span class="font-bold whitespace-nowrap">Subscription:</span>
{{ range . }}
<span>{{ . }}</span>
<span class="flex-1">{{ . }}</span>
<span class="icon-svg">
{{ $icon := index $subscriptionIcons . }}
{{ if $icon }}
@ -41,9 +41,9 @@
{{ with $feature.availability }}
{{ $availabilityText := . }}
<div class="flex items-center gap-1">
<span class="font-bold">Availability:</span>
<span>
<div class="flex flex-wrap items-start gap-1">
<span class="font-bold whitespace-nowrap">Availability:</span>
<span class="flex-1">
{{ $availabilityText }}
{{ range $key, $icon := $availabilityIcons }}
{{ if in $availabilityText $key }}
@ -55,9 +55,9 @@
{{ end }}
{{ with $feature.requires }}
<div class="flex items-center gap-1">
<span class="font-bold">Requires:</span>
<span>{{ . | markdownify }}</span>
<div class="flex flex-wrap items-start gap-1">
<span class="font-bold whitespace-nowrap">Requires:</span>
<span class="flex-1">{{ . | markdownify }}</span>
<span class="icon-svg">
{{ partial "icon" $requiresIcon }}
</span>
@ -65,9 +65,9 @@
{{ end }}
{{ with $feature.for }}
<div class="flex items-center gap-1">
<span class="font-bold">For:</span>
<span>{{ . }}</span>
<div class="flex flex-wrap items-start gap-1">
<span class="font-bold whitespace-nowrap">For:</span>
<span class="flex-1">{{ . }}</span>
<span class="icon-svg">
{{ partial "icon" $forIcon }}
</span>