Skip to content

Commit

Permalink
Update for SwiftPackageIndex documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
krzyzanowskim committed Jun 5, 2022
1 parent 039f56c commit 64835e7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -16,6 +16,7 @@ DerivedData
*.xcuserstate
timeline.xctimeline
.swiftpm/xcode
Package.resolved
CryptoSwift.xcframework

/Framework
Expand Down
4 changes: 4 additions & 0 deletions .spi.yml
@@ -0,0 +1,4 @@
version: 1
builder:
configs:
- documentation_targets: [CryptoSwift]
7 changes: 7 additions & 0 deletions Package.swift
Expand Up @@ -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

0 comments on commit 64835e7

Please sign in to comment.