Skip to content

sbx-cli: render experimental indicators for commands and flags#25279

Open
dvdksn wants to merge 4 commits into
docker:mainfrom
dvdksn:worktree-sbx-experimental-badges
Open

sbx-cli: render experimental indicators for commands and flags#25279
dvdksn wants to merge 4 commits into
docker:mainfrom
dvdksn:worktree-sbx-experimental-badges

Conversation

@dvdksn
Copy link
Copy Markdown
Contributor

@dvdksn dvdksn commented Jun 5, 2026

Summary

The sbx-cli layout template had no handling for the experimental: true field present in many data/sbx_cli/*.yaml files. This adds visual indicators matching the Docker CLI layout:

  • Command-level (experimental: true at YAML root): magenta callout block below the summary table
  • Flag-level (experimental: true on an option): amber badge before the flag description in Options and Global options tables
  • Subcommands table: amber badge alongside the synopsis for experimental child commands

Generated by Claude Code

Mirrors the Docker CLI layout: commands with experimental: true get a
magenta callout block, experimental flags get an amber badge in the
options tables, and experimental subcommands get the badge in the
Commands table.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 5, 2026

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 40e3e0a
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a22e38af8d21400081664a3
😎 Deploy Preview https://deploy-preview-25279--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added the hugo Updates related to hugo label Jun 5, 2026
@dvdksn dvdksn added the status/review Pull requests that are ready for review label Jun 5, 2026
@dvdksn dvdksn requested a review from a team June 5, 2026 14:38
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown

@docker-agent docker-agent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assessment: 🟢 APPROVE

The changes add experimental visual indicators to the sbx-cli layout template, matching the established pattern in cli.html. The implementation is correct:

  • Command-level indicator: Magenta callout block mirrors the cli.html approach for experimental: true at the YAML root
  • Flag-level badges: Amber experimental badge matches the existing cli.html usage for experimental flags (both daemon and CLI experimental badges in cli.html use amber — this PR intentionally replicates that pattern)
  • Subcommands table: Amber badge alongside the synopsis is consistent with the parent CLI layout

No vendored or generated files were modified. No redirects needed (no pages removed or moved). No AI-isms or style violations detected in the template text strings.

dvdksn and others added 2 commits June 5, 2026 16:54
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

@craig-osterhout craig-osterhout left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hugo Updates related to hugo status/review Pull requests that are ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants