Skip to content

Commit

Permalink
add docc plugin (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
dastrobu authored Dec 17, 2023
1 parent 2db104a commit c5a02cf
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,16 @@ let package = Package(
name: "AccelerateArray",
targets: ["AccelerateArray"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
],
dependencies: {
// https://apple.github.io/swift-docc-plugin/documentation/swiftdoccplugin/
var deps: [PackageDescription.Package.Dependency] = []
#if swift(>=5.6.0)
deps.append(
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.3.0")
)
#endif
return deps
}(),
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages which this package depends
Expand Down

0 comments on commit c5a02cf

Please sign in to comment.