From 1b3ec1b2567c7953eb852aa293c853d990d9c4fe Mon Sep 17 00:00:00 2001 From: Sarah Sanders Date: Fri, 7 Mar 2025 10:53:10 -0500 Subject: [PATCH] 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 --- content/includes/dockerfile-labs-channel.md | 10 +++----- .../buildkit/dockerfile-release-notes.md | 14 +++++++---- hugo_stats.json | 8 ------- layouts/shortcodes/summary-bar.html | 24 +++++++++---------- 4 files changed, 25 insertions(+), 31 deletions(-) diff --git a/content/includes/dockerfile-labs-channel.md b/content/includes/dockerfile-labs-channel.md index 029b25a635..8a7bca00d1 100644 --- a/content/includes/dockerfile-labs-channel.md +++ b/content/includes/dockerfile-labs-channel.md @@ -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. \ No newline at end of file diff --git a/content/manuals/build/buildkit/dockerfile-release-notes.md b/content/manuals/build/buildkit/dockerfile-release-notes.md index 57f74385c9..6aada35dcd 100644 --- a/content/manuals/build/buildkit/dockerfile-release-notes.md +++ b/content/manuals/build/buildkit/dockerfile-release-notes.md @@ -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" >}} diff --git a/hugo_stats.json b/hugo_stats.json index c850bbea53..e7379312f2 100644 --- a/hugo_stats.json +++ b/hugo_stats.json @@ -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", diff --git a/layouts/shortcodes/summary-bar.html b/layouts/shortcodes/summary-bar.html index 930eee5c88..523bf65e68 100644 --- a/layouts/shortcodes/summary-bar.html +++ b/layouts/shortcodes/summary-bar.html @@ -23,10 +23,10 @@
{{ with $feature.subscription }} -
- Subscription: +
+ Subscription: {{ range . }} - {{ . }} + {{ . }} {{ $icon := index $subscriptionIcons . }} {{ if $icon }} @@ -41,9 +41,9 @@ {{ with $feature.availability }} {{ $availabilityText := . }} -
- Availability: - +
+ Availability: + {{ $availabilityText }} {{ range $key, $icon := $availabilityIcons }} {{ if in $availabilityText $key }} @@ -55,9 +55,9 @@ {{ end }} {{ with $feature.requires }} -
- Requires: - {{ . | markdownify }} +
+ Requires: + {{ . | markdownify }} {{ partial "icon" $requiresIcon }} @@ -65,9 +65,9 @@ {{ end }} {{ with $feature.for }} -
- For: - {{ . }} +
+ For: + {{ . }} {{ partial "icon" $forIcon }}