swift-nio
swift-nio copied to clipboard
Enable Documentation building on the Swift Package Index
Swift Package Index just launched the awesome feature which generates docs for any package. SwiftNIO should enable this by adding the required .spm.yml etc.
Am I right in thinking that this only requires adding a file to the root of the repo (.spi.yml) that contains the following: ?
version: 1
builder:
configs:
- documentation_targets: [
NIOCore,
NIOEmbedded,
NIOPosix,
NIOHTTP1,
NIOFoundationCompat,
NIOWebSocket,
NIOConcurrencyHelpers,
NIOTLS,
NIOTestUtils
]
This was done in https://github.com/apple/swift-nio/pull/2324