Skip to content

docs: render sbx CLI references in Markdown - #26767

Open
dvdksn wants to merge 1 commit into
docker:mainfrom
dvdksn:worktree/quiet-forest-571d
Open

dvdksn wants to merge 1 commit into
docker:mainfrom
dvdksn:worktree/quiet-forest-571d

Conversation

@dvdksn

@dvdksn dvdksn commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Summary

The Markdown alternatives for sbx CLI references contained only a title because the command content comes from YAML. Add a Markdown template following the Docker CLI pattern, including sbx command details, local and global options, subcommands, experimental markers, and examples.

Verified all 132 sbx pages generate in an isolated Hugo build. All six sbx env Markdown pages pass Markdown lint, and the template passes Vale.

@netlify /reference/cli/sbx/env/

Generated by Codex

Sbx CLI Markdown alternatives fell back to empty page bodies because the reference content comes from YAML data. Add a Markdown layout that renders command details, options, subcommands, and examples from the same data as the HTML layout.
@dvdksn dvdksn added the status/review Pull requests that are ready for review label Nov 25, 2026
@netlify

netlify Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for docsdocker ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 93ce38f
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6b069113bec1abcb24276acb
😎 Deploy Preview https://deploy-preview-26767--docsdocker.netlify.app/reference/cli/sbx/env/
📱 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.

@dvdksn
dvdksn requested a review from a team November 25, 2026 07:41
@github-actions github-actions Bot added the hugo Updates related to hugo label Nov 25, 2026
@dvdksn
dvdksn requested a balanced review from Copilot November 25, 2026 07:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Command and option descriptions lose placeholders and literal backslashes during Markdown rendering, requiring escaping fixes that preserve existing code spans.

2 open issues
What changed in this PR

Adds a Hugo Markdown template for YAML-backed sbx CLI references, replacing title-only output with command documentation.

Changes:

  • Renders command descriptions, usage, and experimental notices.
  • Includes subcommands and local and global options, excluding help flags.
  • Formats examples as fenced console blocks.
File Description
layouts/​sbx-cli.markdown.md Generates Markdown reference content from sbx command YAML and Hugo page metadata.

Review effort: Balanced

Comment thread layouts/sbx-cli.markdown.md Resolved
Comment thread layouts/sbx-cli.markdown.md Resolved

This branch has not been deployed

No deployments
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