Skip to content

Commit d4d6c3b

Browse files
authored
1 parent 38e294b commit d4d6c3b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.spi.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ builder:
99
scheme: URLRouting
1010
- platform: watchos
1111
scheme: URLRouting
12+
- documentation_targets: [URLRouting]

Package.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,10 @@ let package = Package(
4040
),
4141
]
4242
)
43+
44+
#if swift(>=5.6)
45+
// Add the documentation compiler plugin if possible
46+
package.dependencies.append(
47+
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0")
48+
)
49+
#endif

0 commit comments

Comments
 (0)