Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
adamayoung committed May 15, 2024
1 parent bd74f58 commit 8b4c193
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Sources/TMDb/TMDb.docc/Extensions/DiscoverService.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

### Discover Movies

- ``movies(sortedBy:withPeople:page:language:)``
- ``movies(filter:sortedBy:page:language:)``

### Discover TV Series

Expand Down

0 comments on commit 8b4c193

Please sign in to comment.