Skip to content

Commit 1a8cf5b

Browse files
committed
Fixed broken links
1 parent a6fc9c5 commit 1a8cf5b

12 files changed

+121
-51
lines changed

docs/guides/example-projects/batch-llm-evaluator.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ This demo is a full stack example that uses the following:
3939
- View the Trigger.dev task code in the [src/trigger/batch.ts](https://github.com/triggerdotdev/examples/blob/main/batch-llm-evaluator/src/trigger/batch.ts) file.
4040
- The `evaluateModels` task uses the `batch.triggerByTaskAndWait` method to distribute the task to the different LLM models.
4141
- It then passes the results through to a `summarizeEvals` task that calculates some dummy "tags" for each LLM response.
42-
- We use a [useRealtimeRunsWithTag](https://trigger.dev/docs/frontend/react-hooks/realtime#userealtimerunswithtag) hook to subscribe to the different evaluation tasks runs in the [src/components/llm-evaluator.tsx](https://github.com/triggerdotdev/examples/blob/main/batch-llm-evaluator/src/components/llm-evaluator.tsx) file.
42+
- We use a [useRealtimeRunsWithTag](/realtime/react-hooks/realtime#userealtimerunswithtag) hook to subscribe to the different evaluation tasks runs in the [src/components/llm-evaluator.tsx](https://github.com/triggerdotdev/examples/blob/main/batch-llm-evaluator/src/components/llm-evaluator.tsx) file.
4343
- We then pass the relevant run down into three different components for the different models:
4444
- The `AnthropicEval` component: [src/components/evals/Anthropic.tsx](https://github.com/triggerdotdev/examples/blob/main/batch-llm-evaluator/src/components/evals/Anthropic.tsx)
4545
- The `XAIEval` component: [src/components/evals/XAI.tsx](https://github.com/triggerdotdev/examples/blob/main/batch-llm-evaluator/src/components/evals/XAI.tsx)
4646
- The `OpenAIEval` component: [src/components/evals/OpenAI.tsx](https://github.com/triggerdotdev/examples/blob/main/batch-llm-evaluator/src/components/evals/OpenAI.tsx)
47-
- Each of these components then uses [useRealtimeRunWithStreams](https://trigger.dev/docs/frontend/react-hooks/realtime#userealtimerunwithstreams) to subscribe to the different LLM responses.
47+
- Each of these components then uses [useRealtimeRunWithStreams](/realtime/react-hooks/streams) to subscribe to the different LLM responses.
4848

4949
<RealtimeLearnMore />

docs/guides/example-projects/human-in-the-loop-workflow.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,13 @@ await wait.completeToken<ReviewPayload>(
7979

8080
<UpgradeToV4Note />
8181

82-
8382
While the workflow in this example is static and does not allow changing the connections between nodes in the UI, it serves as a good baseline for understanding how to build completely custom workflow builders using Trigger.dev and ReactFlow.
8483

8584
## Learn more about Trigger.dev Realtime and waitpoint tokens
8685

8786
To learn more, take a look at the following resources:
8887

8988
- [Trigger.dev Realtime](/realtime) - learn more about how to subscribe to runs and get real-time updates
90-
- [Realtime streaming](/realtime/streams) - learn more about streaming data from your tasks
91-
- [React hooks](/frontend/react-hooks) - learn more about using React hooks to interact with the Trigger.dev API
89+
- [Realtime streaming](/realtime/react-hooks/streams) - learn more about streaming data from your tasks
90+
- [React hooks](/realtime/react-hooks) - learn more about using React hooks to interact with the Trigger.dev API
9291
- [Waitpoint tokens](/wait-for-token) - learn about waitpoint tokens in Trigger.dev and human-in-the-loop flows

docs/guides/example-projects/vercel-ai-sdk-deep-research.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Level 0 (Initial Query): "AI safety in autonomous vehicles"
110110

111111
### Using Trigger.dev Realtime to trigger and subscribe to the deep research task
112112

113-
We use the [`useRealtimeTaskTrigger`](/frontend/react-hooks/triggering#userealtimetasktrigger) React hook to trigger the `deep-research` task and subscribe to it's updates.
113+
We use the [`useRealtimeTaskTrigger`](/realtime/react-hooks/triggering#userealtimetasktrigger) React hook to trigger the `deep-research` task and subscribe to it's updates.
114114

115115
**Frontend (React Hook)**:
116116

docs/guides/example-projects/vercel-ai-sdk-image-generator.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import RealtimeLearnMore from "/snippets/realtime-learn-more.mdx";
1111
This demo is a full stack example that uses the following:
1212

1313
- A [Next.js](https://nextjs.org/) app using [shadcn](https://ui.shadcn.com/) for the UI
14-
- Our 'useRealtimeRun' [React hook](https://trigger.dev/docs/frontend/react-hooks/realtime) to subscribe to the run and show updates on the frontend
14+
- Our 'useRealtimeRun' [React hook](/realtime/react-hooks/realtime) to subscribe to the run and show updates on the frontend
1515
- The [Vercel AI SDK](https://sdk.vercel.ai/docs/introduction) to [generate images](https://sdk.vercel.ai/docs/ai-sdk-core/image-generation) using OpenAI's DALL-E models
1616

1717
## GitHub repo
@@ -36,6 +36,6 @@ This demo is a full stack example that uses the following:
3636
## Relevant code
3737

3838
- View the Trigger.dev task code which generates the image using the Vercel AI SDK in [src/trigger/realtime-generate-image.ts](https://github.com/triggerdotdev/examples/tree/main/vercel-ai-sdk-image-generator/src/trigger/realtime-generate-image.ts).
39-
- We use a [useRealtimeRun](https://trigger.dev/docs/frontend/react-hooks/realtime#userealtimerun) hook to subscribe to the run in [src/app/processing/[id]/ProcessingContent.tsx](https://github.com/triggerdotdev/examples/tree/main/vercel-ai-sdk-image-generator/src/app/processing/[id]/ProcessingContent.tsx).
39+
- We use a [useRealtimeRun](/realtime/react-hooks/realtime#userealtimerun) hook to subscribe to the run in [src/app/processing/[id]/ProcessingContent.tsx](https://github.com/triggerdotdev/examples/tree/main/vercel-ai-sdk-image-generator/src/app/processing/[id]/ProcessingContent.tsx).
4040

4141
<RealtimeLearnMore />

docs/introduction.mdx

Lines changed: 94 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ mode: "center"
1212
<Card title="Examples" img="/images/intro-examples.jpg" href="/guides/introduction#example-tasks">
1313
Explore dozens of examples tasks to use in your own projects
1414
</Card>
15-
<Card title="Frameworks" img="/images/intro-frameworks.jpg" href="/guides/introduction#frameworks">
15+
<Card
16+
title="Frameworks"
17+
img="/images/intro-frameworks.jpg"
18+
href="/guides/introduction#frameworks"
19+
>
1620
Learn how to use Trigger.dev with your favorite frameworks
1721
</Card>
1822
<Card title="Video walkthrough" img="/images/intro-video.jpg" href="/video-walkthrough">
@@ -24,7 +28,7 @@ mode: "center"
2428

2529
Trigger.dev is an open source background jobs framework that lets you write reliable workflows in plain async code. Run long-running AI tasks, handle complex background jobs, and build AI agents with built-in queuing, automatic retries, and real-time monitoring. No timeouts, elastic scaling, and zero infrastructure management required.
2630

27-
We provide everything you need to build and manage background tasks: a CLI and SDK for writing tasks in your existing codebase, support for both [regular](/tasks/overview) and [scheduled](/tasks/scheduled) tasks, full observability through our dashboard, and a [Realtime API](/realtime) with [React hooks](/frontend/react-hooks#realtime-hooks) for showing task status in your frontend. You can use [Trigger.dev Cloud](https://cloud.trigger.dev) or [self-host](/open-source-self-hosting) on your own infrastructure.
31+
We provide everything you need to build and manage background tasks: a CLI and SDK for writing tasks in your existing codebase, support for both [regular](/tasks/overview) and [scheduled](/tasks/scheduled) tasks, full observability through our dashboard, and a [Realtime API](/realtime) with [React hooks](/realtime/react-hooks#realtime-hooks) for showing task status in your frontend. You can use [Trigger.dev Cloud](https://cloud.trigger.dev) or [self-host](/open-source-self-hosting) on your own infrastructure.
2832

2933
## Learn the concepts
3034

@@ -39,7 +43,8 @@ We provide everything you need to build and manage background tasks: a CLI and S
3943
Runs are the instances of tasks that are executed. Learn how they work.
4044
</Card>
4145
<Card title="API keys" icon="key" href="/apikeys" color="#EAEA08">
42-
API keys are used to authenticate requests to the Trigger.dev API. Learn how to create and use them.
46+
API keys are used to authenticate requests to the Trigger.dev API. Learn how to create and use
47+
them.
4348
</Card>
4449
</CardGroup>
4550

@@ -52,13 +57,18 @@ We provide everything you need to build and manage background tasks: a CLI and S
5257
<Card title="Realtime API" icon="loader" href="/realtime" color="#22C55E">
5358
The Realtime API allows you to trigger tasks and get the status of runs.
5459
</Card>
55-
<Card title="React hooks" icon="react" href="/frontend/react-hooks" color="#3B82F6">
60+
<Card title="React hooks" icon="react" href="/realtime/react-hooks" color="#3B82F6">
5661
React hooks are a way to show task status in your frontend.
5762
</Card>
5863
<Card title="Waits" icon="calendar-clock" href="/wait" color="#F59E0B">
5964
Waits are a way to wait for a task to finish before continuing.
6065
</Card>
61-
<Card title="Errors and retries" icon="message-exclamation" href="/errors-retrying" color="#F43F5E">
66+
<Card
67+
title="Errors and retries"
68+
icon="message-exclamation"
69+
href="/errors-retrying"
70+
color="#F43F5E"
71+
>
6272
Learn how to handle errors and retries.
6373
</Card>
6474
<Card title="Concurrency & Queues" icon="line-height" href="/queue-concurrency" color="#D946EF">
@@ -69,37 +79,89 @@ We provide everything you need to build and manage background tasks: a CLI and S
6979
## Explore by example
7080

7181
<CardGroup cols={3}>
72-
<Card title="FFmpeg" img="/images/intro-ffmpeg.jpg" href="/guides/examples/ffmpeg-video-processing"/>
73-
<Card title="Fal.ai" img="/images/intro-fal.jpg" href="/guides/examples/fal-ai-image-to-cartoon"/>
74-
<Card title="Puppeteer" img="/images/intro-puppeteer.jpg" href="/guides/examples/puppeteer"/>
75-
<Card title="LibreOffice" img="/images/intro-libreoffice.jpg" href="/guides/examples/libreoffice-pdf-conversion"/>
76-
<Card title="OpenAI" img="/images/intro-openai.jpg" href="/guides/examples/open-ai-with-retrying"/>
77-
<Card title="Browserbase" img="/images/intro-browserbase.jpg" href="/guides/examples/scrape-hacker-news"/>
78-
<Card title="Sentry" img="/images/intro-sentry.jpg" href="/guides/examples/sentry-error-tracking"/>
79-
<Card title="Resend" img="/images/intro-resend.jpg" href="/guides/examples/resend-email-sequence"/>
80-
<Card title="Vercel AI SDK" img="/images/intro-vercel.jpg" href="/guides/examples/vercel-ai-sdk"/>
81-
<Card title="Sharp" img="/images/intro-sharp.jpg" href="/guides/examples/sharp-image-processing"/>
82-
<Card title="Deepgram" img="/images/intro-deepgram.jpg" href="/guides/examples/deepgram-transcribe-audio"/>
83-
<Card title="Supabase" img="/images/intro-supabase.jpg" href="/guides/examples/supabase-database-operations"/>
84-
<Card title="DALL•E" img="/images/intro-openai.jpg" href="/guides/examples/dall-e3-generate-image"/>
85-
<Card title="Firecrawl" img="/images/intro-firecrawl.jpg" href="/guides/examples/firecrawl-url-crawl"/>
82+
<Card
83+
title="FFmpeg"
84+
img="/images/intro-ffmpeg.jpg"
85+
href="/guides/examples/ffmpeg-video-processing"
86+
/>
87+
<Card
88+
title="Fal.ai"
89+
img="/images/intro-fal.jpg"
90+
href="/guides/examples/fal-ai-image-to-cartoon"
91+
/>
92+
<Card title="Puppeteer" img="/images/intro-puppeteer.jpg" href="/guides/examples/puppeteer" />
93+
<Card
94+
title="LibreOffice"
95+
img="/images/intro-libreoffice.jpg"
96+
href="/guides/examples/libreoffice-pdf-conversion"
97+
/>
98+
<Card
99+
title="OpenAI"
100+
img="/images/intro-openai.jpg"
101+
href="/guides/examples/open-ai-with-retrying"
102+
/>
103+
<Card
104+
title="Browserbase"
105+
img="/images/intro-browserbase.jpg"
106+
href="/guides/examples/scrape-hacker-news"
107+
/>
108+
<Card
109+
title="Sentry"
110+
img="/images/intro-sentry.jpg"
111+
href="/guides/examples/sentry-error-tracking"
112+
/>
113+
<Card
114+
title="Resend"
115+
img="/images/intro-resend.jpg"
116+
href="/guides/examples/resend-email-sequence"
117+
/>
118+
<Card
119+
title="Vercel AI SDK"
120+
img="/images/intro-vercel.jpg"
121+
href="/guides/examples/vercel-ai-sdk"
122+
/>
123+
<Card
124+
title="Sharp"
125+
img="/images/intro-sharp.jpg"
126+
href="/guides/examples/sharp-image-processing"
127+
/>
128+
<Card
129+
title="Deepgram"
130+
img="/images/intro-deepgram.jpg"
131+
href="/guides/examples/deepgram-transcribe-audio"
132+
/>
133+
<Card
134+
title="Supabase"
135+
img="/images/intro-supabase.jpg"
136+
href="/guides/examples/supabase-database-operations"
137+
/>
138+
<Card
139+
title="DALL•E"
140+
img="/images/intro-openai.jpg"
141+
href="/guides/examples/dall-e3-generate-image"
142+
/>
143+
<Card
144+
title="Firecrawl"
145+
img="/images/intro-firecrawl.jpg"
146+
href="/guides/examples/firecrawl-url-crawl"
147+
/>
86148
</CardGroup>
87149

88150
## Explore by build extension
89151

90-
| Extension | What it does | Docs |
91-
|:----------|:------------|:--------------|
92-
| prismaExtension | Use Prisma with Trigger.dev | [Learn more](/config/extensions/prismaExtension) |
93-
| pythonExtension | Execute Python scripts in Trigger.dev | [Learn more](/config/extensions/pythonExtension) |
94-
| puppeteer | Use Puppeteer with Trigger.dev | [Learn more](/config/extensions/puppeteer) |
95-
| ffmpeg | Use FFmpeg with Trigger.dev | [Learn more](/config/extensions/ffmpeg) |
96-
| aptGet | Install system packages with aptGet | [Learn more](/config/extensions/aptGet) |
97-
| additionalFiles | Copy additional files to the build directory | [Learn more](/config/extensions/additionalFiles) |
98-
| additionalPackages | Include additional packages in the build | [Learn more](/config/extensions/additionalPackages) |
99-
| syncEnvVars | Automatically sync environment variables to Trigger.dev | [Learn more](/config/extensions/syncEnvVars) |
100-
| esbuildPlugin | Add existing or custom esbuild plugins to your build process | [Learn more](/config/extensions/esbuildPlugin) |
101-
| emitDecoratorMetadata | Support for the emitDecoratorMetadata TypeScript compiler | [Learn more](/config/extensions/emitDecoratorMetadata) |
102-
| audioWaveform | Support for Audio Waveform in your project | [Learn more](/config/extensions/audioWaveform) |
152+
| Extension | What it does | Docs |
153+
| :-------------------- | :----------------------------------------------------------- | :----------------------------------------------------- |
154+
| prismaExtension | Use Prisma with Trigger.dev | [Learn more](/config/extensions/prismaExtension) |
155+
| pythonExtension | Execute Python scripts in Trigger.dev | [Learn more](/config/extensions/pythonExtension) |
156+
| puppeteer | Use Puppeteer with Trigger.dev | [Learn more](/config/extensions/puppeteer) |
157+
| ffmpeg | Use FFmpeg with Trigger.dev | [Learn more](/config/extensions/ffmpeg) |
158+
| aptGet | Install system packages with aptGet | [Learn more](/config/extensions/aptGet) |
159+
| additionalFiles | Copy additional files to the build directory | [Learn more](/config/extensions/additionalFiles) |
160+
| additionalPackages | Include additional packages in the build | [Learn more](/config/extensions/additionalPackages) |
161+
| syncEnvVars | Automatically sync environment variables to Trigger.dev | [Learn more](/config/extensions/syncEnvVars) |
162+
| esbuildPlugin | Add existing or custom esbuild plugins to your build process | [Learn more](/config/extensions/esbuildPlugin) |
163+
| emitDecoratorMetadata | Support for the emitDecoratorMetadata TypeScript compiler | [Learn more](/config/extensions/emitDecoratorMetadata) |
164+
| audioWaveform | Support for Audio Waveform in your project | [Learn more](/config/extensions/audioWaveform) |
103165

104166
## Getting help
105167

docs/management/authentication.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ There are two methods of authenticating with the management API: using a secret
88

99
<Note>
1010
There is a separate authentication strategy when making requests from your frontend application.
11-
See the [Frontend guide](/frontend/overview) for more information. This guide is for backend usage
11+
See the [Realtime guide](/realtime/overview) for more information. This guide is for backend usage
1212
only.
1313
</Note>
1414

@@ -94,4 +94,4 @@ await envvars.upload("proj_1234", "dev", {
9494
},
9595
override: true,
9696
});
97-
```
97+
```

docs/realtime/auth.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Authentication
3-
sidebarTitle: Authentication
2+
title: Realtime authentication
3+
sidebarTitle: Realtime authentication
44
description: Authenticating real-time API requests with Public Access Tokens
55
---
66

docs/runs/metadata.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ export const myTask = task({
264264

265265
### stream
266266

267-
Capture a stream of values and make the stream available when using Realtime. See our [Realtime streams](/realtime/streams) documentation for more information.
267+
Capture a stream of values and make the stream available when using Realtime. See our [Realtime streams](/realtime/react-hooks/streams) documentation for more information.
268268

269269
```ts
270270
import { task, metadata } from "@trigger.dev/sdk/v3";

docs/snippets/realtime-learn-more.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
To learn more, take a look at the following resources:
44

55
- [Trigger.dev Realtime](/realtime) - learn more about how to subscribe to runs and get real-time updates
6-
- [Realtime streaming](/realtime/streams) - learn more about streaming data from your tasks
6+
- [Realtime streaming](/realtime/react-hooks/streams) - learn more about streaming data from your tasks
77
- [Batch Triggering](/triggering#tasks-batchtrigger) - learn more about how to trigger tasks in batches
8-
- [React hooks](/frontend/react-hooks) - learn more about using React hooks to interact with the Trigger.dev API
8+
- [React hooks](/realtime/react-hooks) - learn more about using React hooks to interact with the Trigger.dev API

docs/triggering.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ export const childTask2 = task({
704704
## Triggering from your frontend
705705

706706
If you want to trigger a task directly from a frontend application, you can use our [React
707-
hooks](/frontend/react-hooks/triggering).
707+
hooks](/realtime/react-hooks/triggering).
708708

709709
## Options
710710

0 commit comments

Comments
 (0)