From 8b4c1934339a20fa33acf9e5b7cb5c49a328d6b0 Mon Sep 17 00:00:00 2001 From: Adam Young Date: Wed, 15 May 2024 21:00:29 +0100 Subject: [PATCH] Update documentation --- .github/workflows/ci.yml | 2 +- .github/workflows/documentation.yml | 3 ++- Makefile | 4 ++-- README.md | 2 +- Sources/TMDb/TMDb.docc/Extensions/DiscoverService.md | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d7121b13..cb853a2f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -78,7 +78,7 @@ jobs: build-test-linux: name: Build and Test (Linux) runs-on: ubuntu-latest - container: swift:5.10.0-jammy + container: swift:5.9.2-jammy steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 00067a53..80aed632 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -43,7 +43,8 @@ jobs: --disable-indexing \ --transform-for-static-hosting \ --hosting-base-path TMDb \ - --output-path docs + --output-path docs \ + --warnings-as-errors env: SWIFTCI_DOCC: 1 diff --git a/Makefile b/Makefile index 23cc8b6f..3733bf05 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ WATCHOS_DESINTATION = 'platform=watchOS Simulator,name=Apple Watch Series 9 (45m TVOS_DESTINATION = 'platform=tvOS Simulator,name=Apple TV 4K (3rd generation),OS=17.5' VISIONOS_DESTINATION = 'platform=visionOS Simulator,name=Apple Vision Pro,OS=1.2' -SWIFT_CONTAINER_IMAGE = swift:5.10.0-jammy +SWIFT_CONTAINER_IMAGE = swift:5.9.2-jammy .PHONY: clean clean: @@ -47,7 +47,7 @@ build-linux-release: .PHONY: build-docs build-docs: - SWIFTCI_DOCC=1 swift package generate-documentation --product $(TARGET) + SWIFTCI_DOCC=1 swift package generate-documentation --product $(TARGET) --warnings-as-errors swift package resolve .PHONY: preview-docs diff --git a/README.md b/README.md index 72d50021..efad085a 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Add the TMDb package as a dependency to your `Package.swift` file, and add it as a dependency to your target. ```swift -// swift-tools-version:5.10 +// swift-tools-version:5.9 import PackageDescription diff --git a/Sources/TMDb/TMDb.docc/Extensions/DiscoverService.md b/Sources/TMDb/TMDb.docc/Extensions/DiscoverService.md index e95fe437..bf7fe620 100644 --- a/Sources/TMDb/TMDb.docc/Extensions/DiscoverService.md +++ b/Sources/TMDb/TMDb.docc/Extensions/DiscoverService.md @@ -8,7 +8,7 @@ ### Discover Movies -- ``movies(sortedBy:withPeople:page:language:)`` +- ``movies(filter:sortedBy:page:language:)`` ### Discover TV Series