Skip to content

docs(style[shell]): Standardize shell code blocks#1024

Merged
tony merged 3 commits intomasterfrom
docs-cmd-cleanup
Mar 15, 2026
Merged

docs(style[shell]): Standardize shell code blocks#1024
tony merged 3 commits intomasterfrom
docs-cmd-cleanup

Conversation

@tony
Copy link
Copy Markdown
Member

@tony tony commented Mar 15, 2026

Summary

  • Add shell command formatting rules to AGENTS.md (console tag, $ prefix, line continuations)
  • Standardize all shell code blocks in docs/cli/completion.md and CHANGES

Changes

  • AGENTS.md: Add "Shell Command Formatting" section, update "Code Blocks" multi-command guidance
  • docs/cli/completion.md: Fix bash/zshconsole tags, add $ prefix (preserves .bashrc/.zshrc content blocks)
  • CHANGES: Fix shconsole tags, add $ prefix

tony added 3 commits March 15, 2026 04:50
why: Standardize shell code blocks for copy-pastability and readability
what:
- Add console language tag + $ prefix rule
- Add line continuation rule for wide multi-flag commands
- Scope to documentation shell examples, not doctests
why: Improve copy-pastability and readability of shell examples
what:
- Ensure all shell blocks use console tag with $ prefix
- Fix docs/cli/completion.md shtab examples
- Fix CHANGES shell examples
why: Apply the line-splitting rule from Shell Command Formatting guidelines
what:
- Split pipx install command in CHANGES header
- Split long env commands in docs/developing.md
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.01%. Comparing base (b32f996) to head (26dc4b5).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1024   +/-   ##
=======================================
  Coverage   81.01%   81.01%           
=======================================
  Files          28       28           
  Lines        2628     2628           
  Branches      492      492           
=======================================
  Hits         2129     2129           
  Misses        368      368           
  Partials      131      131           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tony tony marked this pull request as ready for review March 15, 2026 11:07
@tony tony merged commit 7ae91c0 into master Mar 15, 2026
13 checks passed
@tony tony deleted the docs-cmd-cleanup branch March 15, 2026 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant