diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml deleted file mode 100644 index 12a77a2..0000000 --- a/.github/workflows/documentation.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Documentation - -on: - push: - branches: - - main - -permissions: - contents: read - pages: write - id-token: write - -# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. -# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. -concurrency: - group: "pages" - cancel-in-progress: false - -jobs: - publish: - name: Publish Documentation - runs-on: ubuntu-latest - - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - - steps: - - name: Set up GitHub Pages - uses: actions/configure-pages@v3 - - uses: actions/checkout@v3 - - name: Generate documentation - run: "swift package generate-documentation --target MessagePack --disable-indexing --include-extended-types --transform-for-static-hosting --hosting-base-path msgpack-swift" - - name: Upload documentation - uses: actions/upload-pages-artifact@v2 - with: - path: ".build/plugins/Swift-DocC/outputs/MessagePack.doccarchive" - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v2 diff --git a/.spi.yml b/.spi.yml new file mode 100644 index 0000000..b4e5776 --- /dev/null +++ b/.spi.yml @@ -0,0 +1,5 @@ +version: 1 +builder: + configs: + - documentation_targets: [MessagePack] + custom_documentation_parameters: [--include-extended-types]