Skip to content

Commit 48ba6ba

Browse files
committed
Fix broken links in documentation
1 parent 0550deb commit 48ba6ba

7 files changed

Lines changed: 10 additions & 10 deletions

File tree

Package.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ let package = Package(
3939
// capability: .buildTool(),
4040
// dependencies: ["VersionNumberPluginExec"]
4141
// )
42-
43-
.testTarget(
44-
name: "ATProtoKitTests",
45-
dependencies: ["ATProtoKit"]),
42+
//
43+
// .testTarget(
44+
// name: "ATProtoKitTests",
45+
// dependencies: ["ATProtoKit"]),
4646
]
4747
)
4848

Sources/ATProtoKit/APIReference/ATProtoBlueskyAPI/PostRecord/CreatePostRecord.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ extension ATProtoBluesky {
877877
/// `EmbedIdentifier` provides a unified interface for specifying embeddable content,
878878
/// simplifying the process of attaching images, external links, other post records, or media
879879
/// to a post. By abstracting the details of each embed type, it allows methods like
880-
/// ``createPostRecord(text:inlineFacets:locales:replyTo:embed:labels:tags:creationDate:recordKey:shouldValidate:swapCommit:)``
880+
/// ``createPostRecord(text:inlineFacets:locales:replyTo:embed:labels:tags:creationDate:replyControls:embeddingRules:recordKey:shouldValidate:swapCommit:)``
881881
/// to handle the necessary operations (e.g., uploading, grabbing metadata, validation, etc.)
882882
/// behind the scenes, streamlining the embedding process.
883883
public enum EmbedIdentifier {

Sources/ATProtoKit/APIReference/ATProtoBlueskyAPI/PostgateRecord/CreatePostgateRecord.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ extension ATProtoBluesky {
1818
///
1919
/// You need to have a record first before you create a postgate record. If there isn't one
2020
/// yet, you can create one manually, or you can use the
21-
/// ``ATProtoBluesky/createPostRecord(text:inlineFacets:locales:replyTo:embed:labels:tags:creationDate:recordKey:shouldValidate:swapCommit:)``
21+
/// ``ATProtoBluesky/createPostRecord(text:inlineFacets:locales:replyTo:embed:labels:tags:creationDate:replyControls:embeddingRules:recordKey:shouldValidate:swapCommit:)``
2222
/// method.
2323
///
2424
/// After that, you can use the ``ComAtprotoLexicon/Repository/StrongReference/recordURI``

Sources/ATProtoKit/APIReference/ATProtoBlueskyAPI/ThreadgateRecord/CreateThreadgateRecord.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ extension ATProtoBluesky {
1818
///
1919
/// You need to have a record first before you create a threadgate record. If there isn't one
2020
/// yet, you can create one manually, or you can use the
21-
/// ``ATProtoBluesky/createPostRecord(text:inlineFacets:locales:replyTo:embed:labels:tags:creationDate:recordKey:shouldValidate:swapCommit:)``
21+
/// ``ATProtoBluesky/createPostRecord(text:inlineFacets:locales:replyTo:embed:labels:tags:creationDate:replyControls:embeddingRules:recordKey:shouldValidate:swapCommit:)``
2222
/// method.
2323
///
2424
/// After that, you can use the ``ComAtprotoLexicon/Repository/StrongReference/recordURI``

Sources/ATProtoKit/ATProtoKit.docc/Extensions/ATProtoBluesky/ATLinkBuilderProtocol.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Task {
9898
}
9999
```
100100

101-
You can then create a post as normal using ``ATProtoBluesky/createPostRecord(text:inlineFacets:locales:replyTo:embed:labels:tags:creationDate:recordKey:shouldValidate:swapCommit:)``.
101+
You can then create a post as normal using ``ATProtoBluesky/createPostRecord(text:inlineFacets:locales:replyTo:embed:labels:tags:creationDate:replyControls:embeddingRules:recordKey:shouldValidate:swapCommit:)``.
102102

103103
The method will automatically take the first link it detects and use it as the external website card.
104104

Sources/ATProtoKit/ATProtoKit.docc/Extensions/ATProtoBluesky/ATProtoBluesky.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
### Creating Posts
1515

16-
- ``createPostRecord(text:inlineFacets:locales:replyTo:embed:labels:tags:creationDate:recordKey:shouldValidate:swapCommit:)``
16+
- ``createPostRecord(text:inlineFacets:locales:replyTo:embed:labels:tags:creationDate:replyControls:embeddingRules:recordKey:shouldValidate:swapCommit:)``
1717
- <doc:ATLinkBuilderProtocol>
1818
- ``ATLinkBuilder``
1919

Sources/ATProtoKit/ATProtoKit.docc/Getting Started with ATProtoKit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ To create a post, first create an ``ATProtoBluesky`` instance, with the ``ATProt
6666
let atProtoBluesky = ATProtoBluesky(atProtoKitInstance: atProto)
6767
```
6868

69-
Then use the ``ATProtoBluesky/createPostRecord(text:inlineFacets:locales:replyTo:embed:labels:tags:creationDate:recordKey:shouldValidate:swapCommit:)`` method. While this method is extremely extensive, we're only going to focus on the `text` parameter.
69+
Then use the ``ATProtoBluesky/createPostRecord(text:inlineFacets:locales:replyTo:embed:labels:tags:creationDate:replyControls:embeddingRules:recordKey:shouldValidate:swapCommit:)`` method. While this method is extremely extensive, we're only going to focus on the `text` parameter.
7070

7171
```swift
7272
let postResult = try await atProtoBluesky.createPostRecord(text: "Hello Bluesky!")

0 commit comments

Comments
 (0)