Closed DivineDominion closed 1 year ago
Guide at: https://blog.swiftpackageindex.com/posts/auto-generating-auto-hosting-and-auto-updating-docc-documentation/
#if swift(>=5.6) // Add the documentation compiler plugin if possible package.dependencies.append( .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0") ) #endif
.spi.yml in project root with:
.spi.yml
version: 1 builder: configs: - documentation_targets: [Target]
Guide at: https://blog.swiftpackageindex.com/posts/auto-generating-auto-hosting-and-auto-updating-docc-documentation/
Change Package
Add manifest
.spi.yml
in project root with: