From 7ac7d83c3e154a35611d45ef40eff6bc4e85f3e4 Mon Sep 17 00:00:00 2001 From: Matt Aitken Date: Thu, 7 Sep 2023 09:16:22 +0100 Subject: [PATCH] =?UTF-8?q?Docs:=20integrations=20alphabetical=20in=20the?= =?UTF-8?q?=20sidebar,=20and=20removed=20folders=20where=20they=20weren?= =?UTF-8?q?=E2=80=99t=20used?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/integrations/apis/openai.mdx | 2 +- docs/integrations/apis/resend.mdx | 2 +- docs/integrations/apis/sendgrid.mdx | 8 ++--- docs/integrations/apis/slack.mdx | 2 +- docs/mint.json | 52 ++++++----------------------- 5 files changed, 16 insertions(+), 50 deletions(-) diff --git a/docs/integrations/apis/openai.mdx b/docs/integrations/apis/openai.mdx index d55df8363..670616c4a 100644 --- a/docs/integrations/apis/openai.mdx +++ b/docs/integrations/apis/openai.mdx @@ -1,5 +1,5 @@ --- -title: Introduction +title: OpenAI --- Trigger.dev provides seamless integration with OpenAI, enabling developers to harness the power of AI diff --git a/docs/integrations/apis/resend.mdx b/docs/integrations/apis/resend.mdx index 70e6833f6..d47bc8fef 100644 --- a/docs/integrations/apis/resend.mdx +++ b/docs/integrations/apis/resend.mdx @@ -1,5 +1,5 @@ --- -title: Introduction +title: Resend --- diff --git a/docs/integrations/apis/sendgrid.mdx b/docs/integrations/apis/sendgrid.mdx index 528223600..82b5af514 100644 --- a/docs/integrations/apis/sendgrid.mdx +++ b/docs/integrations/apis/sendgrid.mdx @@ -1,5 +1,5 @@ --- -title: Introduction +title: SendGrid --- @@ -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 diff --git a/docs/integrations/apis/slack.mdx b/docs/integrations/apis/slack.mdx index f1b4daeaf..53e6cbadf 100644 --- a/docs/integrations/apis/slack.mdx +++ b/docs/integrations/apis/slack.mdx @@ -1,5 +1,5 @@ --- -title: Introduction +title: Slack --- diff --git a/docs/mint.json b/docs/mint.json index b2402afeb..c363ff988 100644 --- a/docs/mint.json +++ b/docs/mint.json @@ -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" } } -} \ No newline at end of file +}