Update for SwiftPackageIndex documentation

This commit is contained in:
Marcin Krzyzanowski
2022-06-05 14:32:31 +02:00
parent 039f56c5d7
commit 64835e7a37
3 changed files with 12 additions and 0 deletions
+1
View File
@@ -16,6 +16,7 @@ DerivedData
*.xcuserstate
timeline.xctimeline
.swiftpm/xcode
Package.resolved
CryptoSwift.xcframework
/Framework
+4
View File
@@ -0,0 +1,4 @@
version: 1
builder:
configs:
- documentation_targets: [CryptoSwift]
+7
View File
@@ -20,3 +20,10 @@ let package = Package(
],
swiftLanguageVersions: [.v5]
)
#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