swift-openapi-generator
swift-openapi-generator copied to clipboard
Set Swift as the default language in the Info.plist of the docc bundles
Set Swift as the default language in the Info.plist of the docc bundles.
This is so that code listings use Swift syntax highlighting by default.
Is this about setting the CDDefaultCodeListingLanguage
key to swift in the plist?
If so, can we add the CDAppleDefaultAvailability
to the plist as well?
@denil-ct Yup, that default listing language key is what we need.
Default availability is trickier, we don't want to have to update it in multiple places, ideally docc would pick it up from the Package.swift platforms
key. But you can file a separate issue tracking this, we don't want to broaden this issue.