Skip to content

Commit e34d524

Browse files
authored
docs: technical SEO cleanup for CLI pages, titles, and links (#3986)
A batch of technical-SEO fixes across the docs, all reader-facing (titles, links, redirects): - Canonicalize the duplicate CLI command pages: the bare `/cli-dev` and `/cli-deploy` paths now permanently redirect to their `-commands` equivalents, and a duplicate navigation entry is removed. - Give the three pages that all rendered as "Overview" distinct titles (Building with AI, self-hosting overview, Management API overview), with sidebar labels unchanged. - Replace the generic "Learn more" links in the introduction's build-extension list with descriptive anchor text. - Switch two http links to https in the Supabase guides, point a troubleshooting page's help link to Discord, and add missing meta descriptions to three help and troubleshooting pages.
1 parent 5740955 commit e34d524

24 files changed

Lines changed: 50 additions & 62 deletions

docs/building-with-ai.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Overview"
2+
title: "Building with AI: overview"
33
sidebarTitle: "Overview"
44
description: "Tools and resources for building Trigger.dev projects with AI coding assistants."
55
---

docs/cli-deploy.mdx

Lines changed: 0 additions & 8 deletions
This file was deleted.

docs/cli-dev.mdx

Lines changed: 0 additions & 8 deletions
This file was deleted.

docs/cli-development-commands.mdx

Lines changed: 0 additions & 9 deletions
This file was deleted.

docs/deploy-environment-variables.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ To sync environment variables from your Vercel projects to Trigger.dev, you can
230230

231231
#### Deploy
232232

233-
When you run the [CLI deploy command](/cli-deploy) directly or using [GitHub Actions](/github-actions) it will sync the environment variables from [Infisical](https://infisical.com) to Trigger.dev. This means they'll appear on the Environment Variables page so you can confirm that it's worked.
233+
When you run the [CLI deploy command](/cli-deploy-commands) directly or using [GitHub Actions](/github-actions) it will sync the environment variables from [Infisical](https://infisical.com) to Trigger.dev. This means they'll appear on the Environment Variables page so you can confirm that it's worked.
234234

235235
This means that you need to redeploy your Trigger.dev tasks if you change the environment variables in [Infisical](https://infisical.com).
236236

docs/deployment/overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: "Learn how to deploy your tasks to Trigger.dev."
66

77
import CorepackError from "/snippets/corepack-error.mdx";
88

9-
Before you can run production workloads on Trigger.dev, you need to deploy your tasks. The only way to do this at the moment is through the [deploy CLI command](/cli-deploy):
9+
Before you can run production workloads on Trigger.dev, you need to deploy your tasks. The only way to do this at the moment is through the [deploy CLI command](/cli-deploy-commands):
1010

1111
<CodeGroup>
1212

docs/docs.json

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -192,12 +192,6 @@
192192
}
193193
]
194194
},
195-
{
196-
"group": "Development",
197-
"pages": [
198-
"cli-dev"
199-
]
200-
},
201195
{
202196
"group": "Deployment",
203197
"pages": [
@@ -746,6 +740,21 @@
746740
]
747741
},
748742
"redirects": [
743+
{
744+
"source": "/cli-dev",
745+
"destination": "/cli-dev-commands",
746+
"permanent": true
747+
},
748+
{
749+
"source": "/cli-deploy",
750+
"destination": "/cli-deploy-commands",
751+
"permanent": true
752+
},
753+
{
754+
"source": "/cli-development-commands",
755+
"destination": "/cli-dev-commands",
756+
"permanent": true
757+
},
749758
{
750759
"source": "/v3/feature-matrix",
751760
"destination": "https://feedback.trigger.dev/roadmap"

docs/guides/example-projects/anchor-browser-web-scraper.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,6 @@ export default defineConfig({
119119

120120
## Learn more
121121

122-
- View the [Anchor Browser docs](https://anchorbrowser.io/docs) to learn more about Anchor Browser's AI-powered browser automation tools.
122+
- View the [Anchor Browser docs](https://docs.anchorbrowser.io/) to learn more about Anchor Browser's AI-powered browser automation tools.
123123
- Check out the source code for the [Anchor Browser web scraper repo](https://github.com/triggerdotdev/examples/tree/main/anchor-browser-web-scraper) on GitHub.
124124
- Browser our [example projects](/guides/introduction) to see how you can use Trigger.dev with other services.

docs/guides/examples/libreoffice-pdf-conversion.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import LocalDevelopment from "/snippets/local-development-extensions.mdx";
99
## Prerequisites
1010

1111
- A project with [Trigger.dev initialized](/quick-start)
12-
- [LibreOffice](https://www.libreoffice.org/download/libreoffice-fresh/) installed on your machine
12+
- [LibreOffice](https://www.libreoffice.org/download/download-libreoffice/) installed on your machine
1313
- A [Cloudflare R2](https://developers.cloudflare.com) account and bucket
1414

1515
### Using our `aptGet` build extension to add the LibreOffice package

docs/guides/examples/replicate-image-generation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: "Learn how to generate images from source image URLs using Replicat
66

77
## Overview
88

9-
This example demonstrates how to use Trigger.dev to generate images from source image URLs using [Replicate](https://replicate.com/), the [nano-banana-image-to-image](https://replicate.com/meta/nano-banana-image-to-image) model.
9+
This example demonstrates how to use Trigger.dev to generate images from source image URLs using [Replicate](https://replicate.com/), the [nano-banana](https://replicate.com/google/nano-banana) model.
1010

1111
## Task code
1212

0 commit comments

Comments
 (0)