docs: consolidate custom command documentation by dgageot · Pull Request #4331 · docker/docker-agent · GitHub
Skip to content

docs: consolidate custom command documentation - #4331

Merged
dgageot merged 1 commit into
mainfrom
docs/dedupe-commands
Sep 17, 2026
Merged

dgageot merged 1 commit into
mainfrom
docs/dedupe-commands

Conversation

@dgageot

@dgageot dgageot commented Sep 17, 2026

Copy link
Copy Markdown
Member

The Named Commands section in docs/configuration/agents/index.md had grown into a near-complete duplicate of the dedicated Custom Commands reference page, including the three-format breakdown, argument-expansion syntax, and multiple full YAML examples. This meant that any update to the commands feature required edits in two places, and the two copies had already started to drift.

This change trims the agent-configuration page down to the minimal snippet needed to introduce the feature and show the basic syntax, then points readers to the canonical docs/configuration/commands/index.md for URL commands, agent-switching, top-level commands: groups, the --disable-commands flag, and all argument-expansion details. The concise introductory note on immediate execution is preserved inline since it is the one behavioral detail a reader needs before deciding to click through.

Markdown lint, front matter, Hugo 0.163.0 build, llms.txt semantic checks, and lychee offline link validation all passed. Go source and tests are unchanged.

Signed-off-by: David Gageot <david.gageot@docker.com>
Assisted-By: claude-sonnet-4-5
@aheritier aheritier added area/docs Documentation changes kind/docs Documentation-only changes labels Sep 17, 2026
@dgageot
dgageot marked this pull request as ready for review September 17, 2026 15:07
@dgageot
dgageot requested a review from a team as a code owner September 17, 2026 15:07
@dgageot
dgageot added this pull request to the merge queue Sep 17, 2026
Merged via the queue into main with commit c41b375 Sep 17, 2026
24 checks passed
@dgageot
dgageot deleted the docs/dedupe-commands branch September 17, 2026 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/docs Documentation changes kind/docs Documentation-only changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants