From 7a614dfa6f09fdcb16fae37c4a15cd4078438e9e Mon Sep 17 00:00:00 2001 From: linhey Date: Tue, 27 Sep 2022 00:38:14 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B7=BB=E5=8A=A0=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E8=83=BD=E5=8A=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .spi.yml | 5 +++++ Package.swift | 7 +++++++ 2 files changed, 12 insertions(+) create mode 100644 .spi.yml 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