swiftlang / swift-docc-plugin

Swift Package Manager command plugin for Swift-DocC
https://swiftpackageindex.com/apple/swift-docc-plugin/1.3.0/documentation/swiftdoccplugin
Apache License 2.0
316 stars 54 forks source link

Include all DocC help options in the plugin help #72

Closed d-ronnqvist closed 3 months ago

d-ronnqvist commented 8 months ago

Bug/issue #, if applicable: #71

Summary

This update the processing of the DocC help text to include all the DocC option groups and not just the last one.

Since there are multiple option groups in recent versions of DocC, the option groups from DocC are prefixed with "DOCC" to distinguish them from the option groups from the plugin.

Dependencies

None.

Testing

Compare the output from docc convert --help (from a local main build or recent main development toolchain) with the output from swift package plugin generate-documentation -h.

All DocC options should be included in the plugin help text.

Checklist

Make sure you check off the following items. If they cannot be completed, provide a reason.

d-ronnqvist commented 3 months ago

@swift-ci please test