Unverified Commit eb2fe86c authored by Hong Minhee's avatar Hong Minhee
Browse files

docs: Fix spelling and grammar errors in manuals



Fix various minor language issues across documentation:

- Fix typos: "OpenTelemtry" → "OpenTelemetry", "secion" → "section"
- Correct grammar: "method takes" → "method take", "th  [" → "the ["
- Improve phrasing: "for you" → "for your use case",
  "don't mind about" → "don't need to worry about"
- Fix tense consistency: "If you decided" → "If you decide"
- Remove redundant article: "the most of callbacks" → "most of the callbacks"

[ci skip]

Co-Authored-By: default avatarClaude <noreply@anthropic.com>
parent 1ba413b0
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -103,11 +103,11 @@ Cons
        Hence, the fediverse handle is immutable in practice.
     -  It's usually treated as an anti-pattern in the fediverse.

You need to choose the best approach for you before implementing the actor
dispatcher.  If you decided to use the WebFinger username as the actor's
You need to choose the best approach for your use case before implementing the actor
dispatcher.  If you decide to use the WebFinger username as the actor's
identifier, there's nothing to do—Fedify assumes it by default.

If you decided to decouple the WebFinger username from the actor's identifier,
If you decide to decouple the WebFinger username from the actor's identifier,
see the [next section](#decoupling-actor-uris-from-webfinger-usernames) for
details.

+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ The key features of the `Context` object are as follows:
Where to get a `Context` object
-------------------------------

You can get a `Context` object from the first parameter of the most of callbacks
You can get a `Context` object from the first parameter of most of the callbacks
that are registered to the `Federation` object.  The following shows a few
callbacks that take a `Context` object as the first parameter:

+2 −2
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@ Logging
    destinations) for your environment.

Tracing
:   Enable [OpenTelemtry](./opentelemetry.md) integration to trace ActivityPub
:   Enable [OpenTelemetry](./opentelemetry.md) integration to trace ActivityPub
    operations across your infrastructure.

Monitoring
@@ -183,7 +183,7 @@ have cached your public keys.
### Web frameworks

For web framework integration patterns,
see the [*Integration* secion](./integration.md), which covers Express, Hono,
see the [*Integration* section](./integration.md), which covers Express, Hono,
Fresh, SvelteKit, and other popular frameworks.


+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ activities with various specifications, such as:
 -  [Linked Data Signatures]
 -  Object Integrity Proofs ([FEP-8b32])

You don't mind about the signature verification at all—unsigned activities and
You don't need to worry about the signature verification at all—unsigned activities and
invalid signatures are silently ignored.  If you want to see why some activities
are ignored, you can turn on [logging](./log.md) for `["fedify", "sig"]`
category.
+1 −1
Original line number Diff line number Diff line
@@ -263,7 +263,7 @@ await ctx.sendActivity(
> manually in this case.

> [!TIP]
> Does the `Context.sendActivity()` method takes quite a long time to complete
> Does the `Context.sendActivity()` method take quite a long time to complete
> even if you configured the [`queue`](./federation.md#queue)?  It might be
> because the followers collection is large and the method under the hood
> invokes your [followers collection dispatcher](./collections.md#followers)
Loading