Skip to content

🎥 Make videos programmatically with React

use vercel redirects

Jonny Burger86ffed32e3ea
diff --git a/packages/docs/_redirects b/packages/docs/_redirects
deleted file mode 100644
index a9678a1d98..0000000000
--- a/packages/docs/_redirects
+++ /dev/null
@@ -1 +0,0 @@
-https://remotion-lambda-alpha.netlify.app/* https://remotion.dev/:splat 301!
diff --git a/packages/docs/docs/get-compositions-redirect.md b/packages/docs/docs/get-compositions-redirect.md
deleted file mode 100644
index f73866e7a5..0000000000
--- a/packages/docs/docs/get-compositions-redirect.md
+++ /dev/null
@@ -1,10 +0,0 @@
----
-id: get-compositions
-title: getCompositions()
----
-
-import Redirect from '../components/Redirect';
-
-This page has moved. Redirecting...
-
-<Redirect redirect="/docs/renderer/get-compositions"/>
diff --git a/packages/docs/docs/render-frames-redirect.md b/packages/docs/docs/render-frames-redirect.md
deleted file mode 100644
index f0a918ef98..0000000000
--- a/packages/docs/docs/render-frames-redirect.md
+++ /dev/null
@@ -1,10 +0,0 @@
----
-id: render-frames
-title: renderFrames()
----
-
-import Redirect from '../components/Redirect';
-
-This page has moved. Redirecting...
-
-<Redirect redirect="/docs/renderer/render-frames"/>
diff --git a/packages/docs/docs/render-still-redirect.md b/packages/docs/docs/render-still-redirect.md
deleted file mode 100644
index 557ce62d30..0000000000
--- a/packages/docs/docs/render-still-redirect.md
+++ /dev/null
@@ -1,10 +0,0 @@
----
-id: render-still
-title: renderStill()
----
-
-import Redirect from '../components/Redirect';
-
-This page has moved. Redirecting...
-
-<Redirect redirect="/docs/renderer/render-still"/>
diff --git a/packages/docs/docs/stitch-frames-to-video-redirect.md b/packages/docs/docs/stitch-frames-to-video-redirect.md
deleted file mode 100644
index 3f543f3868..0000000000
--- a/packages/docs/docs/stitch-frames-to-video-redirect.md
+++ /dev/null
@@ -1,10 +0,0 @@
----
-id: stitch-frames-to-video
-title: stitchFramesToVideo()
----
-
-import Redirect from '../components/Redirect';
-
-This page has moved. Redirecting...
-
-<Redirect redirect="/docs/renderer/stitch-frames-to-video"/>
diff --git a/vercel.json b/vercel.json
index b35edf82dd..56d3f64e62 100644
--- a/vercel.json
+++ b/vercel.json
@@ -22,7 +22,7 @@
},
{
"source": "/timeout",
- "destination": "https://remotion.dev/docs/timeout",
+ "destination": "/docs/timeout",
"permanent": false
},
{
@@ -32,32 +32,32 @@
},
{
"source": "/skia",
- "destination": "https://remotion.dev/docs/skia",
+ "destination": "/docs/skia",
"permanent": false
},
{
"source": "/gif",
- "destination": "https://remotion.dev/docs/gif",
+ "destination": "/docs/gif",
"permanent": false
},
{
"source": "/lottie",
- "destination": "https://remotion.dev/docs/lottie",
+ "destination": "/docs/lottie",
"permanent": false
},
{
"source": "/paths",
- "destination": "https://remotion.dev/docs/paths",
+ "destination": "/docs/paths",
"permanent": false
},
{
"source": "/api",
- "destination": "https://remotion.dev/docs/api",
+ "destination": "/docs/api",
"permanent": false
},
{
"source": "/terminology",
- "destination": "https://remotion.dev/docs/terminology",
+ "destination": "/docs/terminology",
"permanent": false
},
{
@@ -67,18 +67,38 @@
},
{
"source": "/motion-blur",
- "destination": "https://remotion.dev/docs/motion-blur",
+ "destination": "/docs/motion-blur",
"permanent": false
},
{
"source": "/noise",
- "destination": "https://remotion.dev/docs/noise",
+ "destination": "/docs/noise",
"permanent": false
},
{
"source": "/docs/get-audio-duration",
"destination": "/docs/get-audio-duration-in-seconds",
"permanent": true
+ },
+ {
+ "source": "/docs/get-compositions",
+ "destination": "/docs/renderer/get-compositions",
+ "permanent": true
+ },
+ {
+ "source": "/docs/stitch-frames-to-video",
+ "destination": "/docs/renderer/stitch-frames-to-video",
+ "permanent": true
+ },
+ {
+ "source": "/docs/render-still",
+ "destination": "/docs/renderer/render-still",
+ "permanent": true
+ },
+ {
+ "source": "/docs/render-frames",
+ "destination": "/docs/renderer/render-frames",
+ "permanent": true
}
]
}