Docs: integrations alphabetical in the sidebar, and removed folders where they weren’t used
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Introduction
|
||||
title: OpenAI
|
||||
---
|
||||
|
||||
Trigger.dev provides seamless integration with OpenAI, enabling developers to harness the power of AI
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Introduction
|
||||
title: Resend
|
||||
---
|
||||
|
||||
<Snippet file="integration-getting-started.mdx" />
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Introduction
|
||||
title: SendGrid
|
||||
---
|
||||
|
||||
<Snippet file="integration-getting-started.mdx" />
|
||||
@@ -24,7 +24,7 @@ yarn add @trigger.dev/sendgrid@latest
|
||||
|
||||
## Authentication
|
||||
|
||||
SendGrid integration supports API Keys. To authenticate, you'll need to create an instance of the SendGrid class and provide your API key.
|
||||
SendGrid integration supports API Keys. To authenticate, you'll need to create an instance of the SendGrid class and provide your API key.
|
||||
|
||||
```ts
|
||||
import { SendGrid } from "@trigger.dev/sendgrid";
|
||||
@@ -33,7 +33,6 @@ const sendgrid = new SendGrid({
|
||||
id: "sendgrid",
|
||||
apiKey: process.env.SENDGRID_API_KEY!,
|
||||
});
|
||||
|
||||
```
|
||||
|
||||
## Example
|
||||
@@ -59,7 +58,7 @@ client.defineJob({
|
||||
trigger: eventTrigger({
|
||||
name: "send.email",
|
||||
schema: z.object({
|
||||
to:z.string(),
|
||||
to: z.string(),
|
||||
subject: z.string(),
|
||||
text: z.string(),
|
||||
}),
|
||||
@@ -76,7 +75,6 @@ client.defineJob({
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
```
|
||||
|
||||
## Tasks
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Introduction
|
||||
title: Slack
|
||||
---
|
||||
|
||||
<Snippet file="integration-getting-started.mdx" />
|
||||
|
||||
+10
-42
@@ -63,10 +63,7 @@
|
||||
"documentation/introduction",
|
||||
{
|
||||
"group": "Quick Starts",
|
||||
"pages": [
|
||||
"documentation/quickstarts/nextjs",
|
||||
"documentation/quickstarts/supabase"
|
||||
]
|
||||
"pages": ["documentation/quickstarts/nextjs", "documentation/quickstarts/supabase"]
|
||||
},
|
||||
"documentation/guides/create-a-job",
|
||||
"documentation/guides/video-walkthrough"
|
||||
@@ -199,32 +196,12 @@
|
||||
"integrations/apis/github-tasks"
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "OpenAI",
|
||||
"pages": [
|
||||
"integrations/apis/openai"
|
||||
]
|
||||
},
|
||||
"integrations/apis/stripe",
|
||||
"integrations/apis/openai",
|
||||
"integrations/apis/plain",
|
||||
{
|
||||
"group": "Resend",
|
||||
"pages": [
|
||||
"integrations/apis/resend"
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "SendGrid",
|
||||
"pages": [
|
||||
"integrations/apis/sendgrid"
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "Slack",
|
||||
"pages": [
|
||||
"integrations/apis/slack"
|
||||
]
|
||||
},
|
||||
"integrations/apis/resend",
|
||||
"integrations/apis/sendgrid",
|
||||
"integrations/apis/slack",
|
||||
"integrations/apis/stripe",
|
||||
{
|
||||
"group": "Supabase",
|
||||
"pages": [
|
||||
@@ -285,10 +262,7 @@
|
||||
"sdk/dynamictrigger/constructor",
|
||||
{
|
||||
"group": "Instance methods",
|
||||
"pages": [
|
||||
"sdk/dynamictrigger/register",
|
||||
"sdk/dynamictrigger/unregister"
|
||||
]
|
||||
"pages": ["sdk/dynamictrigger/register", "sdk/dynamictrigger/unregister"]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -299,10 +273,7 @@
|
||||
"sdk/dynamicschedule/constructor",
|
||||
{
|
||||
"group": "Instance methods",
|
||||
"pages": [
|
||||
"sdk/dynamicschedule/register",
|
||||
"sdk/dynamicschedule/unregister"
|
||||
]
|
||||
"pages": ["sdk/dynamicschedule/register", "sdk/dynamicschedule/unregister"]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -323,10 +294,7 @@
|
||||
},
|
||||
{
|
||||
"group": "Overview",
|
||||
"pages": [
|
||||
"examples/introduction",
|
||||
"examples/examples-repository"
|
||||
]
|
||||
"pages": ["examples/introduction", "examples/examples-repository"]
|
||||
}
|
||||
],
|
||||
"footerSocials": {
|
||||
@@ -339,4 +307,4 @@
|
||||
"apiKey": "phc_hwYmedO564b3Ik8nhA4Csrb5SueY0EwFJWCbseGwWW"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user