diff --git a/.spi.yml b/.spi.yml new file mode 100644 index 0000000..e4f671f --- /dev/null +++ b/.spi.yml @@ -0,0 +1,5 @@ +version: 1 +builder: + configs: + - platform: ios + documentation_targets: [SectionUI] \ No newline at end of file diff --git a/Package.swift b/Package.swift index a1ba484..10d5700 100644 --- a/Package.swift +++ b/Package.swift @@ -20,3 +20,10 @@ let package = Package( ), ] ) + +#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 \ No newline at end of file