diff --git a/.spi.yml b/.spi.yml new file mode 100644 index 0000000..b1feee7 --- /dev/null +++ b/.spi.yml @@ -0,0 +1,5 @@ +version: 1 +builder: + configs: + - platform: ios + documentation_targets: [NiftyMarkdownFormatter] diff --git a/Package.resolved b/Package.resolved new file mode 100644 index 0000000..3b6d58b --- /dev/null +++ b/Package.resolved @@ -0,0 +1,16 @@ +{ + "object": { + "pins": [ + { + "package": "SwiftDocCPlugin", + "repositoryURL": "https://github.com/apple/swift-docc-plugin", + "state": { + "branch": null, + "revision": "3303b164430d9a7055ba484c8ead67a52f7b74f6", + "version": "1.0.0" + } + } + ] + }, + "version": 1 +} diff --git a/Package.swift b/Package.swift index 51004c5..d062cbf 100644 --- a/Package.swift +++ b/Package.swift @@ -30,3 +30,9 @@ let package = Package( dependencies: ["NiftyMarkdownFormatter"]), ] ) + +#if swift(>=5.6) +package.dependencies.append( + .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0") +) +#endif