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.
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 localmain
build or recent main development toolchain) with the output fromswift 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.
./bin/test
script and it succeeded