Skip to content

Add --json-prettyprint plugin option - #130

Draft
ZHUOLIN0928 wants to merge 1 commit into
swiftlang:mainfrom
ZHUOLIN0928:agent/json-prettyprint
Draft

ZHUOLIN0928 wants to merge 1 commit into
swiftlang:mainfrom
ZHUOLIN0928:agent/json-prettyprint

Conversation

@ZHUOLIN0928

Copy link
Copy Markdown

Summary

  • Add a --json-prettyprint plugin option for deterministic, readable DocC JSON output.
  • Set DOCC_JSON_PRETTYPRINT=YES for convert, preview, and combined archive invocations.
  • Add parsing, environment propagation, and help text coverage.

Resolves #127.

Test plan

  • swift build
  • LC_ALL=C ./bin/check-source
  • swift test --filter SwiftDocCPluginUtilitiesTests (blocked locally because the installed CommandLineTools does not include XCTest; CI should provide the test result)

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.

Add --json-prettyprint flag to enable pretty-printing

1 participant