Skip to content

🎥 Make videos programmatically with React

Move Vercel docs from /docs/miscellaneous/vercel to /docs/vercel

Jonny Burger9ae5c08be0a4
diff --git a/packages/docs/docs/miscellaneous/nextjs.mdx b/packages/docs/docs/miscellaneous/nextjs.mdx
index cb9d3201d3..d8bb17200f 100644
--- a/packages/docs/docs/miscellaneous/nextjs.mdx
+++ b/packages/docs/docs/miscellaneous/nextjs.mdx
@@ -13,7 +13,7 @@ Deploy the Vercel template to render your videos in the cloud:
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?demo-description=Render%20your%20Remotion%20videos%20on%20Vercel.&demo-image=%2F%2Fimages.ctfassets.net%2Fe5382hct74si%2F4pq2kfE4t05fMkDCKGsfqz%2F1444f1b559d50391052fdf5102502ac9%2FFlagsmith_Dark.png&demo-title=Remotion%20on%20Vercel&demo-url=https%3A%2F%2Ftemplate-vercel.remotion.dev%2F&from=templates&products=%255B%257B%2522type%2522%253A%2522blob%2522%257D%255D&project-name=Remotion%20on%20Vercel&project-names=Comma%20separated%20list%20of%20project%20names%2Cto%20match%20the%20root-directories&repository-name=remotion-on-vercel&repository-url=https%3A%2F%2Fgithub.com%2Fremotion-dev%2Ftemplate-vercel&root-directories=List%20of%20directory%20paths%20for%20the%20directories%20to%20clone%20into%20projects)
-To learn more, [visit the Remotion on Vercel page](/docs/miscellaneous/vercel).
+To learn more, [visit the Remotion on Vercel page](/docs/vercel).
## While self-hosting Next.js
@@ -38,4 +38,4 @@ Also be aware of the following:
## See also
-- [Remotion on Vercel](/docs/miscellaneous/vercel)
+- [Remotion on Vercel](/docs/vercel)
diff --git a/packages/docs/docs/vercel-sandbox.mdx b/packages/docs/docs/vercel-sandbox.mdx
index 63c76b2729..142531c6c3 100644
--- a/packages/docs/docs/vercel-sandbox.mdx
+++ b/packages/docs/docs/vercel-sandbox.mdx
@@ -62,6 +62,6 @@ See the [template source code](https://github.com/remotion-dev/remotion/tree/mai
## See also
-- [Deploying Remotion on Vercel](/docs/miscellaneous/vercel)
+- [Deploying Remotion on Vercel](/docs/vercel)
- [Server-side rendering](/docs/ssr)
- [Lambda](/docs/lambda)
diff --git a/packages/docs/docs/miscellaneous/vercel.mdx b/packages/docs/docs/vercel.mdx
similarity index 99%
rename from packages/docs/docs/miscellaneous/vercel.mdx
rename to packages/docs/docs/vercel.mdx
index b7922a0e0a..002e934622 100644
--- a/packages/docs/docs/miscellaneous/vercel.mdx
+++ b/packages/docs/docs/vercel.mdx
@@ -1,5 +1,5 @@
---
-image: /generated/articles-docs-miscellaneous-vercel.png
+image: /generated/articles-docs-vercel.png
sidebar_label: Vercel
title: Remotion on Vercel
crumb: 'Deployment'
diff --git a/packages/docs/sidebars.ts b/packages/docs/sidebars.ts
index 2f70e3331e..da0ed81765 100644
--- a/packages/docs/sidebars.ts
+++ b/packages/docs/sidebars.ts
@@ -1287,7 +1287,7 @@ const sidebars: SidebarsConfig = {
'miscellaneous/render-in-browser',
'miscellaneous/automatic-duration',
'miscellaneous/nextjs',
- 'miscellaneous/vercel',
+ 'vercel',
'miscellaneous/render-on-edge',
'miscellaneous/embed-studio',
'miscellaneous/absolute-paths',
diff --git a/packages/docs/src/data/articles.ts b/packages/docs/src/data/articles.ts
index 05f2cf03bc..12cc0c068e 100644
--- a/packages/docs/src/data/articles.ts
+++ b/packages/docs/src/data/articles.ts
@@ -3943,15 +3943,6 @@ export const articles = [
noAi: false,
slug: 'typescript-aliases',
},
- {
- id: 'miscellaneous/vercel',
- title: 'Remotion on Vercel',
- relativePath: 'docs/miscellaneous/vercel.mdx',
- compId: 'articles-docs-miscellaneous-vercel',
- crumb: 'Deployment',
- noAi: false,
- slug: 'miscellaneous/vercel',
- },
{
id: 'miscellaneous/video-formats',
title: 'Which video formats does Remotion support?',
@@ -6538,6 +6529,15 @@ export const articles = [
noAi: false,
slug: 'vercel-sandbox',
},
+ {
+ id: 'vercel',
+ title: 'Remotion on Vercel',
+ relativePath: 'docs/vercel.mdx',
+ compId: 'articles-docs-vercel',
+ crumb: 'Deployment',
+ noAi: false,
+ slug: 'vercel',
+ },
{
id: 'version-mismatch',
title: 'Version mismatch',
diff --git a/packages/docs/vercel.ts b/packages/docs/vercel.ts
index c8ef1274f5..a9b70ee136 100644
--- a/packages/docs/vercel.ts
+++ b/packages/docs/vercel.ts
@@ -300,9 +300,12 @@ export const config: VercelConfig = {
}),
routes.redirect(
'/docs/miscellaneous/vercel-functions',
- '/docs/miscellaneous/vercel',
+ '/docs/vercel',
{permanent: false},
),
+ routes.redirect('/docs/miscellaneous/vercel', '/docs/vercel', {
+ permanent: false,
+ }),
routes.redirect('/system-prompt', '/docs/ai/system-prompt', {
permanent: false,
}),