diff --git a/.github/workflows/deploy_docc.yml b/.github/workflows/deploy_docc.yml index d3f4ec5..02ae1ec 100644 --- a/.github/workflows/deploy_docc.yml +++ b/.github/workflows/deploy_docc.yml @@ -25,13 +25,15 @@ jobs: - name: Build DocC run: | - swift package --allow-writing-to-directory ./docs \ - generate-documentation \ - --target WebUI \ - --disable-indexing \ - --transform-for-static-hosting \ - --hosting-base-path WebUI \ - --output-path ./docs + $(xcrun --find docc) convert Sources/WebUI/Documentation.docc \ + --fallback-display-name WebUI \ + --fallback-bundle-identifier org.cybozu.WebUI \ + --fallback-bundle-version 1 \ + --output-dir Reference.doccarchive + + $(xcrun --find docc) process-archive \ + transform-for-static-hosting Reference.doccarchive \ + --output-path ./docs - name: Upload artifact uses: actions/upload-pages-artifact@v3 diff --git a/Package.resolved b/Package.resolved deleted file mode 100644 index 10155ea..0000000 --- a/Package.resolved +++ /dev/null @@ -1,23 +0,0 @@ -{ - "pins" : [ - { - "identity" : "swift-docc-plugin", - "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-docc-plugin.git", - "state" : { - "revision" : "26ac5758409154cc448d7ab82389c520fa8a8247", - "version" : "1.3.0" - } - }, - { - "identity" : "swift-docc-symbolkit", - "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-docc-symbolkit", - "state" : { - "revision" : "b45d1f2ed151d057b54504d653e0da5552844e34", - "version" : "1.0.0" - } - } - ], - "version" : 2 -} diff --git a/Package.swift b/Package.swift index 3e8043d..dcea3e8 100644 --- a/Package.swift +++ b/Package.swift @@ -19,9 +19,6 @@ let package = Package( targets: ["WebUI"] ) ], - dependencies: [ - .package(url: "https://github.com/apple/swift-docc-plugin.git", exact: "1.4.3") - ], targets: [ .target( name: "WebUI",