Skip to content

Commit 32ac342

Browse files
fix: SEO improvements (#2827)
<!-- Please make sure there is an issue that this PR is correlated to. --> ## Changes <!-- If there are frontend changes, please include screenshots. -->
1 parent d25aced commit 32ac342

File tree

15 files changed

+47
-46
lines changed

15 files changed

+47
-46
lines changed

site/scripts/generateApi.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ All API requests require [authentication tokens](/docs/tokens). Use these tokens
2121
2222
## Resources
2323
24-
- **Actors** - Create [Rivet Actors](/docs/actors) and [Rivet Containers](/docs/containers)
24+
- **Actors** - Create [Rivet Actors](/docs/actors) and [Rivet Containers](/docs/cloud/containers)
2525
- **Builds** - Code deployments
26-
- **Routes** - HTTP routing configuration for [Rivet Functions](/docs/functions)
26+
- **Routes** - HTTP routing configuration for [Rivet Functions](/docs/cloud/functions)
2727
- **Regions** - Global deployment locations ([more info](/docs/regions))
2828
2929
## SDKs
@@ -38,7 +38,7 @@ While you can use the HTTP API directly, we recommend using our official SDKs:
3838
3939
## Error Handling
4040
41-
See [API Errors](/docs/api/errors) for all error codes.
41+
See [API Errors](/docs/cloud/api/errors) for all error codes.
4242
`;
4343
try {
4444
const existingIndexPath = join(OUTPUT_PATH, 'index.mdx');

site/src/app/(v2)/(marketing)/cloud/FeaturesGrid.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ export const FeaturesGrid = () => {
188188
</>
189189
),
190190
faIcon: faCode,
191-
href: "/docs/functions",
191+
href: "/docs/cloud/functions",
192192
useCases: ["APIs", "edge computing"],
193193
},
194194
{
@@ -215,7 +215,7 @@ export const FeaturesGrid = () => {
215215
</>
216216
),
217217
faIcon: faServer,
218-
href: "/docs/containers",
218+
href: "/docs/cloud/containers",
219219
useCases: ["batch jobs", "code sandbox", "game servers"],
220220
},
221221
//{

site/src/app/(v2)/(marketing)/cloud/PowerfulPrimitivesSection.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,13 +519,13 @@ export const PowerfulPrimitivesSection = () => {
519519
{activeTabData.docs.containers && (
520520
<DocLink
521521
title="Containers"
522-
href="/docs/containers"
522+
href="/docs/cloud/containers"
523523
/>
524524
)}
525525
{activeTabData.docs.functions && (
526526
<DocLink
527527
title="Functions"
528-
href="/docs/functions"
528+
href="/docs/cloud/functions"
529529
/>
530530
)}
531531
{activeTabData.docs.guide && (
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

site/src/app/(v2)/(marketing)/pricing/PricingPageClient.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ export default function PricingPageClient() {
381381
<PricingTiers />
382382
<div className="flex flex-col items-center mt-16">
383383
<a
384-
href="/docs/pricing"
384+
href="/docs/cloud/pricing"
385385
target="_self"
386386
rel="noopener noreferrer"
387387
className="text-xl font-medium flex items-center gap-2 cursor-pointer bg-transparent border-none p-0 text-white transition-colors duration-200 group group-hover:text-[#FF5C00]"

site/src/content/docs/cloud/api/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ While you can use the HTTP API directly, we recommend using our official SDKs:
2525

2626
## Error Handling
2727

28-
See [API Errors](/docs/api/errors) for all error codes.
28+
See [API Errors](/docs/cloud/api/errors) for all error codes.
2929

site/src/content/docs/cloud/containers.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ CMD ["node", "server.js"]
5959
```
6060

6161
<Note>
62-
We'll pass the ports & env vars used in the Dockerfile in _Step 3_. Read more in the API docs for [actors.create](/docs/api/actors/create).
62+
We'll pass the ports & env vars used in the Dockerfile in _Step 3_. Read more in the API docs for [actors.create](/docs/cloud/api/actors/create).
6363
</Note>
6464

6565
### Step 2: Deploying a container
@@ -147,7 +147,7 @@ What happens during creation:
147147
- It starts your container with the provided environment variables
148148
- The container starts running based on your Dockerfile's CMD or ENTRYPOINT
149149

150-
See [actors.create](/docs/api/actors/create) for more options.
150+
See [actors.create](/docs/cloud/api/actors/create) for more options.
151151

152152
### Step 4: Connecting to a container
153153

@@ -174,7 +174,7 @@ What happens during connection:
174174
- The URL routes to your container regardless of which region it's in
175175
- For additional security, you can use `getConnection` to generate temporary, authenticated URLs
176176

177-
See [actors.get](/docs/api/actors/get) for more details.
177+
See [actors.get](/docs/cloud/api/actors/get) for more details.
178178

179179
### Step 5: Destroying a container
180180

@@ -196,7 +196,7 @@ What happens during destruction:
196196
- All compute resources associated with the container are freed
197197
- You stop being billed for the container's runtime
198198

199-
See [actors.destroy](/docs/api/actors/destroy) for more details.
199+
See [actors.destroy](/docs/cloud/api/actors/destroy) for more details.
200200

201201
<Note>
202202
Always destroy containers when you're done with them to avoid unnecessary costs.

site/src/content/docs/cloud/edge.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@ const { actor } = await client.actors.create({
6060

6161
It's common to need to display a list of available regions in your application.
6262

63-
To fetch a full list of regions, see [`regions.list`](/docs/api/regions/list). This list is returned in order of best to worst for the client.
63+
To fetch a full list of regions, see [`regions.list`](/docs/cloud/api/regions/list). This list is returned in order of best to worst for the client.
6464

site/src/content/docs/cloud/functions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,5 +145,5 @@ Routing priority is determined by path length with longest paths matching first.
145145

146146
### Programmatic Creation
147147

148-
Routes can be created programmatically via the Rivet API with [`routes.update`](/docs/api/routes/update).
148+
Routes can be created programmatically via the Rivet API with [`routes.update`](/docs/cloud/api/routes/update).
149149

site/src/content/docs/cloud/networking.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Rivet provides a simple yet powerful networking system for your actors. When you
66

77
## Configuring Networking
88

9-
When creating an actor, you specify the ports that your application needs to expose. This is done through the `network.ports` parameter when creating your actor with the [actor.create](/docs/api/actors/create) API:
9+
When creating an actor, you specify the ports that your application needs to expose. This is done through the `network.ports` parameter when creating your actor with the [actor.create](/docs/cloud/api/actors/create) API:
1010

1111
```javascript
1212
// Simple example defining an HTTP port

0 commit comments

Comments
 (0)