🎥 Make videos programmatically with React
Docs: New sidebar structure
Jonny Burgerad4404dd2f7a
diff --git a/packages/docs/docs/ask-for-help.md b/packages/docs/docs/ask-for-help.mdindex aadbdfa1aa..aefd7d7fd8 100644--- a/packages/docs/docs/ask-for-help.md+++ b/packages/docs/docs/ask-for-help.md@@ -7,7 +7,7 @@ id: get-helpTo receive help, either:<Step>1</Step> File an issue under <a href="https://remotion.dev/issue">remotion.dev/issue</a> <br/>-<Step>2</Step> Write in the <code>#help</code> channel on <a href="https://remotion.dev/discord">remotion.dev/discord</a>+<Step>2</Step> Write in the <code>#help</code> channel or <code>#help-forum</code> on <a href="https://remotion.dev/discord">remotion.dev/discord</a>## Provide information@@ -52,6 +52,17 @@ The following might also be useful information to us:<Step error>1</Step> Ask for support using email or direct messages. <br/><Step error>2</Step> Ask without <a href="/search">searching</a> the docs first. <br/>+## Paid support++Our [Remotion Experts](/experts) are available for technical advice and guidance. With their extensive experience in creating Remotion projects, they will surely be of great help.++You can also request a consultation session with Remotion's creator [here](https://cal.com/remotion/consulting).+This is the only way to receive support via video call fom the Remotion team.++## Support policy++See our [policy](/docs/support) on providing support.+## See also- [Debugging render failures](/docs/troubleshooting/debug-failed-render)diff --git a/packages/docs/docs/creating-a-library.md b/packages/docs/docs/creating-a-library.mdindex 41b4117ab6..4a9faee358 100644--- a/packages/docs/docs/creating-a-library.md+++ b/packages/docs/docs/creating-a-library.md@@ -2,7 +2,7 @@image: /generated/articles-docs-creating-a-library.pngid: authoring-packagestitle: Authoring a Remotion library-sidebar_label: Author a library+sidebar_label: Authoring a librarycrumb: "How to"---diff --git a/packages/docs/docs/miscellaneous/vercel-functions.md b/packages/docs/docs/miscellaneous/vercel-functions.mdindex 4a4e825613..5b97e61499 100644--- a/packages/docs/docs/miscellaneous/vercel-functions.md+++ b/packages/docs/docs/miscellaneous/vercel-functions.md@@ -1,6 +1,6 @@---image: /generated/articles-docs-miscellaneous-vercel-functions.png-sidebar_label: Vercel Functions+sidebar_label: Vercel Functions / Next.jstitle: Can I render videos using Vercel Serverless functions?crumb: "FAQ"---diff --git a/packages/docs/docs/performance.md b/packages/docs/docs/performance.mdindex 6079e1e1d6..c0313de05b 100644--- a/packages/docs/docs/performance.md+++ b/packages/docs/docs/performance.md@@ -1,7 +1,7 @@---image: /generated/articles-docs-performance.pngid: performance-sidebar_label: Render speed+sidebar_label: Performancetitle: Performance Tipscrumb: "Need for Speed"---diff --git a/packages/docs/docs/render-as-gif.md b/packages/docs/docs/render-as-gif.mdindex b598089940..402e526979 100644--- a/packages/docs/docs/render-as-gif.md+++ b/packages/docs/docs/render-as-gif.md@@ -1,7 +1,7 @@---image: /generated/articles-docs-render-as-gif.pngid: render-as-gif-title: Render as GIF+title: Rendering GIFscrumb: "Techniques"---diff --git a/packages/docs/docs/ssr.md b/packages/docs/docs/ssr.mdindex 1f58cb0f4a..f003a1a790 100644--- a/packages/docs/docs/ssr.md+++ b/packages/docs/docs/ssr.md@@ -3,6 +3,7 @@ image: /generated/articles-docs-ssr.pngid: ssrtitle: Server-Side Renderingcrumb: "The power of"+sidebar_label: Overview---import {TableOfContents} from '../components/TableOfContents/renderer';@@ -76,7 +77,7 @@ This flow is highly customizable. Click on one of the SSR APIs to read about it'- [`openBrowser()`](/docs/renderer/open-browser) - Share a browser instance across function calls for improved performance.:::note-If you are using Next.js, you will not be able to use `@remotion/bundler` because of the limitations explained in [Can I render videos in Next.js?](https://www.remotion.dev/docs/miscellaneous/vercel-functions#can-i-render-videos-in-nextjs) Refer to the page for possible alternatives.+If you are using Next.js, you will not be able to use `@remotion/bundler` because of the limitations explained in [Can I render videos in Next.js?](https://www.remotion.dev/docs/miscellaneous/vercel-functions#can-i-render-videos-in-nextjs) Refer to the page for possible alternatives.:::## Render using GitHub Actions@@ -98,9 +99,9 @@ See also: [Passing input props in GitHub Actions](/docs/parameterized-rendering#See: [Dockerizing a Remotion project](/docs/docker)-## Render a video using GCP Cloud Run+## Render a video using GCP Cloud Run (Alpha)-An official Remotion package for Cloud Run is in development. Register your interest in [Discord](https://remotion.dev/discord) if you want to be a beta tester.+Check out the experimental [Cloud Run](/docs/cloudrun-alpha) package.## API referencediff --git a/packages/docs/docs/support.md b/packages/docs/docs/support.mdindex 89849a6277..ed0bebdb66 100644--- a/packages/docs/docs/support.md+++ b/packages/docs/docs/support.md@@ -5,21 +5,14 @@ title: Support Policycrumb: "Let us help you"----We welcome you to ask questions and invest a lot of time into supporting our users. Follow the steps below if have a question that you would like to get answered.-The Remotion team provides **no guarantee** for support, and you should not hold the expectation to receive any help.-## How to ask for help--The best way to get help is to ask in public channels like [GitHub issues](https://github.com/remotion-dev/remotion/issues) or the [Discord](https://remotion.dev/discord) channel. The more people can see your question, the more likely it is that you get a fast and helpful answer.--Do not send direct messages to Remotion team members asking for technical help, unless instructed to do so or if your question contains private information that you cannot share publicly. The Remotion team will deprioritize support requests sent via private channels.--Remotion relies heavily on React, CSS and JavaScript. Consider whether your question is about Remotion itself and choose the most appropriate channnel.+However, we welcome you to ask questions and invest a lot of time into answering them.+Follow the steps below if have a question that you would like to get answered.-Search [GitHub issues](https://github.com/remotion-dev/remotion/issues) and [our website](/search) first. We have over 200 documentation pages answering a variety of questions.+## How to ask for help-Ask your question directly and provide relevant information such as which version of Remotion you are using (`npx remotion versions`). If you encounter an error, post the stack trace, track down the code that causes it and provide it as well.+[See here](/docs/get-help) for channels where you can ask for help as well as for best practices for asking questions.## Prioritized support@@ -34,8 +27,10 @@ We still expect company license subscribers to follow the best practices for ask## Paid consulting-You can request a consultation session [here](https://cal.com/remotion/consulting). Remotion's creator Jonny Burger will help you with answers and code to technical questions. This is the only way to receive support via video call. <br/><br/>-We recommend also checking services of our Remotion Experts for technical advice and guidance [here](https://www.remotion.dev/experts). With their extensive experience in creating Remotion projects, they will surely be of great help.+Our [Remotion Experts](/experts) are available for technical advice and guidance. With their extensive experience in creating Remotion projects, they will surely be of great help.++You can also request a consultation session with Remotion's creator [here](https://cal.com/remotion/consulting).+This is the only way to receive support via video call fom the Remotion team.## When we can't help@@ -47,4 +42,9 @@ We don't provide support if:- the cause of problems is due to poor React or JavaScript skills- our [Code of Conduct](https://remotion.dev/coc) is violated-Remotion is targeted towards developers and therefore basic skills in React and web development are expected. You should also be mindful of the limitations of those technologies as we cannot help you overcome them.+Remotion is targeted towards developers and therefore basic skills in React and web development are expected.+You should also be mindful of the limitations of those technologies as we cannot help you overcome them.++## See also++- [Get help](/docs/get-help)diff --git a/packages/docs/sidebars.js b/packages/docs/sidebars.jsindex 9478010a2e..4b9eff23fb 100644--- a/packages/docs/sidebars.js+++ b/packages/docs/sidebars.js@@ -472,6 +472,7 @@ module.exports = {"using-randomness","audio-visualization","noise-visualization",+ "video-manipulation",],},{@@ -490,28 +491,43 @@ module.exports = {"props-resolution",],},+{type: "category",- label: "How To",+ label: "Rendering",items: ["encoding",- "transparent-videos",- "ssr",- "webpack",- "tailwind",- "env-variables",- "third-party","stills","scaling",- "video-manipulation",+ "transparent-videos","render-as-gif","overlay",+ "dataset-render",+ "render-all",+ "miscellaneous/video-formats",+ "video-vs-offthreadvideo",+ ],+ },+ {+ type: "category",+ label: "Server-side rendering",+ link: {+ type: "doc",+ id: "ssr",+ },+ items: [+ "ssr",+ {+ type: "link",+ href: "/docs/renderer",+ label: "@remotion/renderer API",+ },"docker",- "javascript",- "authoring-packages",+ "deploy-studio",+ "miscellaneous/linux-single-process",+ "gpu",],},-{type: "category",link: {@@ -624,6 +640,33 @@ module.exports = {"cloudrun/uninstall",],},+ {+ type: "category",+ label: "Building apps",+ items: [+ "brownfield",+ "video-uploads",+ "buffer-state",+ "presigned-urls",+ "font-picker",+ ],+ },+ {+ type: "category",+ label: "Tooling",+ items: [+ "tailwind",+ "env-variables",+ "webpack",+ "legacy-babel",+ "javascript",+ "third-party",+ "miscellaneous/typescript-aliases",+ "figma",+ "spline",+ "after-effects",+ ],+ },{type: "category",label: "Troubleshooting",@@ -664,59 +707,64 @@ module.exports = {"miscellaneous/snippets/offthread-video-while-rendering",],},- {- type: "category",- label: "Workflows",- items: [- "dataset-render",- "render-all",- "figma",- "spline",- "after-effects",- "video-uploads",- "buffer-state",- "presigned-urls",- "font-picker",- "deploy-studio",- ],- },+{type: "link",href: "/docs/api",label: "API Reference",},- "react-native","terminology",{type: "category",label: "Migration guides",items: ["4-0-migration", "3-0-migration", "2-0-migration"],},+ {+ type: "category",+ label: "Get help",+ link: {+ type: "doc",+ id: "get-help",+ },+ items: [+ {+ type: "link",+ href: "/docs/get-help",+ label: "How to get help",+ },+ {+ type: "link",+ href: "https://remotion.dev/discord",+ label: "Discord",+ },+ {+ type: "link",+ href: "https://remotion.dev/discord",+ label: "GitHub Issues",+ },+ "support",+ ],+ },{type: "category",label: "Miscellaneous",items: [- "get-help",- "brownfield",- "ffmpeg","chromium-flags",- "video-vs-offthreadvideo",- "prereleases",- "gpu",- "react-18",- "legacy-babel",- "miscellaneous/typescript-aliases",- "miscellaneous/render-in-browser","miscellaneous/changing-temp-dir",+ "miscellaneous/thorium-browser",+ "gl-options",+ "bun",+ ],+ },+ {+ type: "category",+ label: "FAQ",+ items: [+ "miscellaneous/render-in-browser","miscellaneous/automatic-duration",- "miscellaneous/video-formats","miscellaneous/vercel-functions","miscellaneous/render-on-edge",- "miscellaneous/thorium-browser",- "miscellaneous/linux-single-process","compare/motion-canvas",- "gl-options",- "bun",],},{@@ -730,6 +778,8 @@ module.exports = {"contributing/formatting","contributing/bounty","contributing/rust",+ "authoring-packages",+ "prereleases",],},"license",