Skip to content

Commit 05e1e30

Browse files
committed
doc: add github pages product specific documentation
1 parent a2f9b3d commit 05e1e30

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

Scripts/build-doc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const core = require('@actions/core');
99

1010
const package = JSON.parse(fs.readFileSync('package.json', 'utf8'));
1111
const command = `swift package --verbose generate-documentation \
12+
--product AsyncObject \
1213
--fallback-display-name AsyncObject \
1314
--fallback-bundle-identifier com.SwiftyLab.AsyncObject \
1415
--fallback-bundle-version ${package.version} \

Scripts/preview-doc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ const open = require('open');
55
const process = exec(
66
'swift package \
77
--disable-sandbox preview-documentation \
8+
--product AsyncObject \
89
--fallback-display-name AsyncObject \
910
--fallback-bundle-identifier com.SwiftyLab.AsyncObject \
1011
--fallback-bundle-version 1 \

Scripts/serve-doc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const hostingDocGenCommandFormat = (basePath, outPath) =>
77
`swift package --verbose \
88
--allow-writing-to-directory .docc-build \
99
generate-documentation \
10+
--product AsyncObject \
1011
--disable-indexing \
1112
--transform-for-static-hosting \
1213
--hosting-base-path ${basePath} \

Sources/AsyncObject/TaskTimeoutResult.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// A result value indicating whether a task finished before a specified time.
22
@frozen
3-
public enum TaskTimeoutResult {
3+
public enum TaskTimeoutResult: Hashable {
44
/// Indicates that a task successfully finished
55
/// before the specified time elapsed.
66
case success

0 commit comments

Comments
 (0)