Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos and grammatical issues in Plugin documentation #3427

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions website/src/pages/docs/features/envelop-plugins.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ share it with other people by publishing it to `npm`.
existing plugins maintained by us.
</Callout>

The most hooks for Yoga origin from the envelop plugin system.
Most hooks for Yoga originate from the Envelop plugin system.
[Please refer to the Envelop Plugin Lifecycle documentation for more information.](https://the-guild.dev/graphql/envelop/docs/plugins/lifecycle)
In addition, Yoga adds more HTTP specific hooks.
In addition, Yoga adds more HTTP-specific hooks.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The sentence contains several grammatical and stylistic errors. Here is a revised version:

Original Sentence:
"The most hooks for Yoga origin from the envelop plugin system. Please refer to the Envelop Plugin Lifecycle documentation for more information. In addition, Yoga adds more HTTP specific hooks."

Errors and Corrections:

  1. Grammar and Word Choice:

    • "The most hooks" should be "Most hooks" or "The majority of hooks" for better clarity.
    • "origin from" should be "originate from" to correctly use the verb form.
  2. Capitalization:

    • "envelop" should be "Envelop" to maintain consistent capitalization with the proper noun and match the capitalization used later in the text.
  3. Hyphenation:

    • "HTTP specific hooks" should be "HTTP-specific hooks" to correctly hyphenate a compound modifier before a noun.

Revised Sentence:

"Most hooks for Yoga originate from the Envelop plugin system. Please refer to the Envelop Plugin Lifecycle documentation for more information. In addition, Yoga adds more HTTP-specific hooks."

This revised sentence is grammatically correct and clearer.


### Plugin Lifecycle

Expand Down