Skip to content

Revising DocC content for the CLI commands to be able to read the arguments for the commands#8883

Merged
dschaefer2 merged 7 commits into
swiftlang:mainfrom
heckj:clidocs-cleanup
Jul 7, 2025
Merged

Revising DocC content for the CLI commands to be able to read the arguments for the commands#8883
dschaefer2 merged 7 commits into
swiftlang:mainfrom
heckj:clidocs-cleanup

Conversation

@heckj

@heckj heckj commented Jul 1, 2025

Copy link
Copy Markdown
Member

Updates to all existing CLI reference documentation to make CLI arguments readable.

Motivation:

The initial run of the argument parser generator dumped the arguments into a single, concatenated string that ended up being pretty unreadable through DocC. This update fixes that to present the arguments in a wrapped-width code block, aligned at 60 characters to make it easier to read in DocC.

This matches the PR being made to swift argument parser to revise the generation of that content: apple/swift-argument-parser#791

Modifications:

Updated the CLI arguments to block formatting for all existing CLI reference documentation pages.

Result:

The arguments for any of the CLI documents are much easier to read.

@bripeticca

Copy link
Copy Markdown
Contributor

@swift-ci please test

@bripeticca

Copy link
Copy Markdown
Contributor

@swift-ci please test windows

@dschaefer2 dschaefer2 merged commit 04ebe8b into swiftlang:main Jul 7, 2025
6 checks passed
@heckj heckj deleted the clidocs-cleanup branch July 7, 2025 17:11
marcprux pushed a commit to swift-everywhere/swift-package-manager that referenced this pull request Jul 7, 2025
…uments for the commands (swiftlang#8883)

Updates to all existing CLI reference documentation to make CLI
arguments readable.

The initial run of the argument parser generator dumped the arguments
into a single, concatenated string that ended up being pretty unreadable
through DocC. This update fixes that to present the arguments in a
wrapped-width code block, aligned at 60 characters to make it easier to
read in DocC.

This matches the PR being made to swift argument parser to revise the
generation of that content:
apple/swift-argument-parser#791

Updated the CLI arguments to block formatting for all existing CLI
reference documentation pages.

The arguments for any of the CLI documents are much easier to read.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants