Skip to content

Commit

Permalink
Merge pull request #18 from NiftyTreeStudios/automated-docc-for-spi
Browse files Browse the repository at this point in the history
Automated DocC creation and hosting at SPI
  • Loading branch information
Iikeli authored Jun 4, 2022
2 parents 13b9655 + 62b5e63 commit ed09967
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .spi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
version: 1
builder:
configs:
- platform: ios
documentation_targets: [NiftyMarkdownFormatter]
16 changes: 16 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -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
}
6 changes: 6 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ed09967

Please sign in to comment.