🎥 Make videos programmatically with React
`docs`: Restructure license docs URLs (#8921)
Mehmeteea7d40c234c
diff --git a/packages/docs/docs/ask-for-help.mdx b/packages/docs/docs/ask-for-help.mdxindex 7b49ce438b..b22f5811cd 100644--- a/packages/docs/docs/ask-for-help.mdx+++ b/packages/docs/docs/ask-for-help.mdx@@ -56,7 +56,7 @@ The following might also be useful information to us: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.-The only way to receive consulting support from the Remotion team is through the [Enterprise License](/docs/pricing).+The only way to receive consulting support from the Remotion team is through the [Enterprise License](/docs/license/pricing).## Support policydiff --git a/packages/docs/docs/ask-in-public.mdx b/packages/docs/docs/ask-in-public.mdxindex cc15938933..b3243fb262 100644--- a/packages/docs/docs/ask-in-public.mdx+++ b/packages/docs/docs/ask-in-public.mdx@@ -16,7 +16,7 @@ We need to offer our support efficiently, therefore we do not answer questions v### Exceptions- If your problem includes private information that you cannot share, you can DM us once we approve of it.-- [Enterprise License](/docs/pricing) holders get a dedicated private Slack or Discord channel.+- [Enterprise License](/docs/license/pricing) holders get a dedicated private Slack or Discord channel.- [Evaluation calls](https://cal.com/remotion/evaluate)## See alsodiff --git a/packages/docs/docs/cloudrun.mdx b/packages/docs/docs/cloudrun.mdxindex 18ac9aac40..55cb55905d 100644--- a/packages/docs/docs/cloudrun.mdx+++ b/packages/docs/docs/cloudrun.mdx@@ -85,7 +85,7 @@ Everything you can do using the CLI, you can also control using Node.JS APIs. SeThe standard Remotion license applies: https://github.com/remotion-dev/remotion/blob/main/LICENSE.md-Companies needing a license and using cloud rendering must set it up with Cloud Rendering Units. Please visit [License & Pricing](/docs/pricing).+Companies needing a license and using cloud rendering must set it up with Cloud Rendering Units. Please visit [License & Pricing](/docs/license/pricing).## Uninstallingdiff --git a/packages/docs/docs/editor-starter/faq.mdx b/packages/docs/docs/editor-starter/faq.mdxindex 5022173f99..3b3e16a8d5 100644--- a/packages/docs/docs/editor-starter/faq.mdx+++ b/packages/docs/docs/editor-starter/faq.mdx@@ -22,7 +22,7 @@ You can also [build a video editor from scratch with Remotion](/docs/building-a-Since the Editor Starter uses Remotion, you still need to obey by the [Remotion License](/docs/license).-In short: Teams and companies with a headcount of 4 or more need to obtain a [Remotion Company License](/docs/pricing) - read the license for more information.+In short: Teams and companies with a headcount of 4 or more need to obtain a [Remotion Company License](/docs/license/pricing) - read the license for more information.## Can I integrate the Editor Starter into my existing app?diff --git a/packages/docs/docs/editor-starter/index.mdx b/packages/docs/docs/editor-starter/index.mdxindex 2230167d3c..4ca60fbc64 100644--- a/packages/docs/docs/editor-starter/index.mdx+++ b/packages/docs/docs/editor-starter/index.mdx@@ -52,6 +52,6 @@ The Editor Starter has been worked on by the following people:The source code of the Remotion Editor Starter is governed by the [Remotion License](https://github.com/remotion-dev/remotion/blob/main/LICENSE.md) and [its own specific license](https://www.remotion.pro/editor-starter?tab=license).-- Remotion, as an underlying technology of the Remotion Editor Starter, is free to use for individuals and small companies. If you fall into this category, you can buy the Remotion Editor Starter as a one-time purchase. If you are a larger company, you must subscribe to the [Company License](/docs/pricing). Read the [Terms & Conditions](https://www.remotion.pro/terms).+- Remotion, as an underlying technology of the Remotion Editor Starter, is free to use for individuals and small companies. If you fall into this category, you can buy the Remotion Editor Starter as a one-time purchase. If you are a larger company, you must subscribe to the [Company License](/docs/license/pricing). Read the [Terms & Conditions](https://www.remotion.pro/terms).- The Remotion Editor Starter License [can be seen in the Remotion Store Page](https://www.remotion.pro/editor-starter) as well as accessible through the dedicated GitHub repository after purchase.diff --git a/packages/docs/docs/editor-starter/vs-studio.mdx b/packages/docs/docs/editor-starter/vs-studio.mdxindex 262b905582..9995cac589 100644--- a/packages/docs/docs/editor-starter/vs-studio.mdx+++ b/packages/docs/docs/editor-starter/vs-studio.mdx@@ -59,7 +59,7 @@ The Remotion Studio and the Editor Starter are different products for different</tr><tr><td><strong>Licensing fee</strong></td>- <td colSpan={2}>Free for individuals and small companies.<br/> Companies need a <a href="/docs/pricing">Company License</a> to use Remotion.</td>+ <td colSpan={2}>Free for individuals and small companies.<br/> Companies need a <a href="/docs/license/pricing">Company License</a> to use Remotion.</td></tr></tbody></table>diff --git a/packages/docs/docs/lambda.mdx b/packages/docs/docs/lambda.mdxindex 06eebfd2a6..b67343ff80 100644--- a/packages/docs/docs/lambda.mdx+++ b/packages/docs/docs/lambda.mdx@@ -86,7 +86,7 @@ Everything you can do using the CLI, you can also control using Node.JS APIs. SeThe standard Remotion license applies: https://github.com/remotion-dev/remotion/blob/main/LICENSE.md-Companies needing a license and using cloud rendering must set it up with Cloud Rendering Units. Please visit [License & Pricing](/docs/pricing).+Companies needing a license and using cloud rendering must set it up with Cloud Rendering Units. Please visit [License & Pricing](/docs/license/pricing).## Uninstallingdiff --git a/packages/docs/docs/lambda/cost-example.mdx b/packages/docs/docs/lambda/cost-example.mdxindex 80ad0bd1dc..eb42bec701 100644--- a/packages/docs/docs/lambda/cost-example.mdx+++ b/packages/docs/docs/lambda/cost-example.mdx@@ -244,7 +244,7 @@ However, you also incur additional cost for:- [Bandwidth](/docs/lambda/data-transfer-cost): Pulling in assets happens always over HTTP and incurs S3 egress cost.- Storage: Storing the sites and renders in S3 incurs S3 storage.- CloudWatch Logs: Renders are logged to CloudWatch by default.-- [Remotion Licensing](/docs/pricing): Teams of 4+ people also need to acquire a Remotion Company License in addition to the AWS cost.+- [Remotion Licensing](/docs/license/pricing): Teams of 4+ people also need to acquire a Remotion Company License in addition to the AWS cost.## See alsodiff --git a/packages/docs/docs/license-pricing-compliance/index.mdx b/packages/docs/docs/license-pricing-compliance/index.mdxdeleted file mode 100644index eb7d84cae1..0000000000--- a/packages/docs/docs/license-pricing-compliance/index.mdx+++ /dev/null@@ -1,13 +0,0 @@-----image: /generated/articles-docs-license-pricing-compliance-index.png-title: License, Pricing and Compliance-sidebar_label: License, Pricing and Compliance-crumb: 'Overview'-description: Remotion licensing and pricing, plus frequently asked questions.------Everything about using Remotion commercially: licensing, pricing, and frequently asked questions.--import {TableOfContents} from './TableOfContents';--<TableOfContents />diff --git a/packages/docs/docs/license.mdx b/packages/docs/docs/license.mdxindex 3a8e7f67fb..46610c79cc 100644--- a/packages/docs/docs/license.mdx+++ b/packages/docs/docs/license.mdx@@ -1,16 +1,14 @@----image: /generated/articles-docs-license.png+image: /generated/articles-docs-license-pricing-compliance-index.pngid: license-title: License & Pricing+title: License, Pricing and Compliance+sidebar_label: License, Pricing and Compliance+crumb: 'Overview'+description: Remotion licensing and pricing, plus frequently asked questions.----Remotion is **free to use** if you are:+Everything about using Remotion commercially: licensing, pricing, and frequently asked questions.-- an individual-- a for-profit organisation with up to 3 employees-- a non-profit or not-for-profit organisation-- evaluating whether Remotion is a good fit, and are not yet using it in a commercial way+import {TableOfContents} from './license/TableOfContents';-If you don't qualify for any of the above, you need to acquire a company license. Visit [License & Pricing](/docs/pricing) for pricing and buying a license.--When in doubt, read the [LICENSE file](https://github.com/remotion-dev/remotion/blob/main/LICENSE.md) and the [Company License FAQ](/docs/license-pricing-compliance/faq) before using Remotion. You can contact [us](mailto:[email protected]) if you need clarification whether you can use Remotion in your project for free.+<TableOfContents />diff --git a/packages/docs/docs/license-pricing-compliance/TableOfContents.tsx b/packages/docs/docs/license/TableOfContents.tsxsimilarity index 79%rename from packages/docs/docs/license-pricing-compliance/TableOfContents.tsxrename to packages/docs/docs/license/TableOfContents.tsxindex 25972acc99..03ba62437a 100644--- a/packages/docs/docs/license-pricing-compliance/TableOfContents.tsx+++ b/packages/docs/docs/license/TableOfContents.tsx@@ -6,12 +6,12 @@ export const TableOfContents: React.FC = () => {return (<div><Grid>- <TOCItem link="/docs/pricing">+ <TOCItem link="/docs/license/pricing"><strong>{'License & Pricing'}</strong><div>Free license eligibility, company and enterprise pricing</div></TOCItem>- <TOCItem link="/docs/license-pricing-compliance/faq">- <strong>{'FAQs'}</strong>+ <TOCItem link="/docs/license/faq">+ <strong>{'License FAQ'}</strong><div>Frequently asked questions about licensing and pricing</div></TOCItem></Grid>diff --git a/packages/docs/docs/license-pricing-compliance/faq.mdx b/packages/docs/docs/license/faq.mdxsimilarity index 97%rename from packages/docs/docs/license-pricing-compliance/faq.mdxrename to packages/docs/docs/license/faq.mdxindex 17c24d5a49..4d87cf906e 100644--- a/packages/docs/docs/license-pricing-compliance/faq.mdx+++ b/packages/docs/docs/license/faq.mdx@@ -1,7 +1,7 @@---image: /generated/articles-docs-license-pricing-compliance-faq.png-title: Frequently asked questions-sidebar_label: FAQs+title: License FAQ+sidebar_label: License FAQcrumb: 'License, Pricing and Compliance'description: Frequently asked questions about Remotion licensing, pricing, renders, and compliance.---@@ -21,7 +21,7 @@ You are eligible to use Remotion for free if you are:No. Remotion is source-available software, but it is not open-source software according to the [Open Source Initiative's Open Source Definition](https://opensource.org/osd).-The Remotion source code is publicly available, but its use is governed by the proprietary [Remotion License](/docs/pricing), which includes conditions that are not part of OSI-approved open-source licenses.+The Remotion source code is publicly available, but its use is governed by the proprietary [Remotion License](/docs/license/pricing), which includes conditions that are not part of OSI-approved open-source licenses.### Why is Remotion free for some and paid for others?diff --git a/packages/docs/docs/pricing.mdx b/packages/docs/docs/license/pricing.mdxsimilarity index 74%rename from packages/docs/docs/pricing.mdxrename to packages/docs/docs/license/pricing.mdxindex 4628230aec..118e78fe69 100644--- a/packages/docs/docs/pricing.mdx+++ b/packages/docs/docs/license/pricing.mdx@@ -1,6 +1,5 @@---image: /generated/articles-docs-pricing.png-id: pricingtitle: License & Pricingsidebar_label: License & Pricingcrumb: 'License, Pricing and Compliance'@@ -10,6 +9,8 @@ description: Remotion pricing, free license eligibility, company licenses, and eimport {Pricing} from '@remotion/promo-pages/dist/homepage/Pricing.js';<Pricing- faqHref="/docs/license-pricing-compliance/faq"+ faqHref="/docs/license/faq"+ faqLabel="License FAQ"+ licenseHref="https://github.com/remotion-dev/remotion/blob/main/LICENSE.md"termsHref="https://www.remotion.pro/terms"/>diff --git a/packages/docs/docs/licensing/index.mdx b/packages/docs/docs/licensing/index.mdxindex e7ef0d0bb0..74ac49a40e 100644--- a/packages/docs/docs/licensing/index.mdx+++ b/packages/docs/docs/licensing/index.mdx@@ -7,7 +7,7 @@ crumb: API_available from v4.0.237_-This package allows holders of the [Company License](/docs/pricing) to send events to Remotion to track the usage of renders.+This package allows holders of the [Company License](/docs/license/pricing) to send events to Remotion to track the usage of renders.Also, it offers an API to programmatically check the usage in order to implement spend controls.### How do I use this package?@@ -81,7 +81,7 @@ No. Telemetry never blocks or fails a render. Even if the telemetry request failFor versions below Remotion 5.0, you can opt out by simply not passing a `licenseKey`. The render will still work.-From Remotion 5.0, opt-out is possible under an [Enterprise License](/docs/pricing) agreement if monthly usage reports are provided instead.+From Remotion 5.0, opt-out is possible under an [Enterprise License](/docs/license/pricing) agreement if monthly usage reports are provided instead.The Enterprise License has the same per-render pricing, but requires a minimum spend of $500 per month.## Installationdiff --git a/packages/docs/docs/lovable-for-motion-graphics.mdx b/packages/docs/docs/lovable-for-motion-graphics.mdxindex be6bfca74c..3e6cf2398e 100644--- a/packages/docs/docs/lovable-for-motion-graphics.mdx+++ b/packages/docs/docs/lovable-for-motion-graphics.mdx@@ -16,7 +16,7 @@ We're not good at any of these things - our strength is building out video techn## Anyone can license our tech-A lot of companies have already licensed our tech through our [company license](/docs/pricing) and are building a variety of products: Video editors, prompt-to-video tools, ad generators and more.+A lot of companies have already licensed our tech through our [company license](/docs/license/pricing) and are building a variety of products: Video editors, prompt-to-video tools, ad generators and more.So, a lot of people are already building consumer tools using Remotion and are pushing way faster than we ever could.diff --git a/packages/docs/docs/media-parser/webcodecs.mdx b/packages/docs/docs/media-parser/webcodecs.mdxindex 63262a9a63..df5e99d766 100644--- a/packages/docs/docs/media-parser/webcodecs.mdx+++ b/packages/docs/docs/media-parser/webcodecs.mdx@@ -273,4 +273,4 @@ Follow [these instructions](https://www.remotion.dev/docs/contributing#testing-y## License reminderLike Remotion itself, this package is licensed under the [Remotion License](https://remotion.dev/license).-TL;DR: Individuals and small teams can use this package, but teams of 4+ people [need a company license](/docs/pricing).+TL;DR: Individuals and small teams can use this package, but teams of 4+ people [need a company license](/docs/license/pricing).diff --git a/packages/docs/docs/support.mdx b/packages/docs/docs/support.mdxindex 0238b61347..c1c2f50f85 100644--- a/packages/docs/docs/support.mdx+++ b/packages/docs/docs/support.mdx@@ -29,7 +29,7 @@ We still expect company license subscribers to follow the best practices for askOur [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.-The only way to receive consulting support from the Remotion team is through the [Enterprise License](/docs/pricing).+The only way to receive consulting support from the Remotion team is through the [Enterprise License](/docs/license/pricing).## When we can't helpdiff --git a/packages/docs/docs/timeline/index.mdx b/packages/docs/docs/timeline/index.mdxindex 6bfab25a5c..7880fc8238 100644--- a/packages/docs/docs/timeline/index.mdx+++ b/packages/docs/docs/timeline/index.mdx@@ -37,6 +37,6 @@ Customization:The source code of the Remotion Timeline is governed by the [Remotion License](https://github.com/remotion-dev/remotion/blob/main/LICENSE.md) and [its own specific license](https://www.remotion.pro/timeline?tab=license).-- Remotion, as an underlying technology of the Remotion Timeline, is free to use for individuals and small companies. If you fall into this category, you can buy the Remotion Timeline as a one-time purchase. If you are a larger company, you must subscribe to the [Company License](/docs/pricing). Read the [Terms & Conditions](https://www.remotion.pro/terms).+- Remotion, as an underlying technology of the Remotion Timeline, is free to use for individuals and small companies. If you fall into this category, you can buy the Remotion Timeline as a one-time purchase. If you are a larger company, you must subscribe to the [Company License](/docs/license/pricing). Read the [Terms & Conditions](https://www.remotion.pro/terms).- The Remotion Timeline License [can be seen in the Remotion Store Page](https://www.remotion.pro/timeline) as well as accessible through the dedicated GitHub repository after purchase.diff --git a/packages/docs/docusaurus.config.ts b/packages/docs/docusaurus.config.tsindex 48e7890d67..ebb862000c 100644--- a/packages/docs/docusaurus.config.ts+++ b/packages/docs/docusaurus.config.ts@@ -109,7 +109,7 @@ const config: Config = {label: 'Commercial',position: 'left',items: [- {to: '/docs/pricing', label: 'License + Pricing'},+ {to: '/docs/license/pricing', label: 'License + Pricing'},{to: 'https://remotion.pro/store', label: 'Store'},{to: 'success-stories', label: 'Success Stories'},{to: 'experts', label: 'Experts'},@@ -183,7 +183,7 @@ const config: Config = {},{label: 'License + Pricing',- to: '/docs/pricing',+ to: '/docs/license/pricing',},],},diff --git a/packages/docs/middleware.ts b/packages/docs/middleware.tsindex 6b727df5a9..bb33711dcc 100644--- a/packages/docs/middleware.ts+++ b/packages/docs/middleware.ts@@ -60,7 +60,19 @@ export default function middleware(request: Request) {const pathname = url.pathname;if (pathname === '/pricing') {- return Response.redirect(new URL('/docs/pricing', request.url), 308);+ return Response.redirect(new URL('/docs/license/pricing', request.url), 308);+ }++ if (pathname === '/docs/pricing') {+ return Response.redirect(new URL('/docs/license/pricing', request.url), 308);+ }++ if (pathname === '/docs/license-pricing-compliance/faq') {+ return Response.redirect(new URL('/docs/license/faq', request.url), 308);+ }++ if (pathname === '/docs/license/license-faq') {+ return Response.redirect(new URL('/docs/license/faq', request.url), 308);}if (!pathname.startsWith('/docs/') && !pathname.startsWith('/elements/')) {diff --git a/packages/docs/sidebars.ts b/packages/docs/sidebars.tsindex 574ffd688c..cb1ae2c60d 100644--- a/packages/docs/sidebars.ts+++ b/packages/docs/sidebars.ts@@ -1612,9 +1612,9 @@ const sidebars: SidebarsConfig = {label: 'License, Pricing and Compliance',link: {type: 'doc',- id: 'license-pricing-compliance/index',+ id: 'license',},- items: ['pricing', 'license-pricing-compliance/faq'],+ items: ['license/pricing', 'license/faq'],},'acknowledgements',diff --git a/packages/docs/src/data/articles.ts b/packages/docs/src/data/articles.tsindex c3257424fd..6f25777e07 100644--- a/packages/docs/src/data/articles.ts+++ b/packages/docs/src/data/articles.ts@@ -3753,30 +3753,21 @@ export const articles = [slug: 'legacy-babel',},{- id: 'license-pricing-compliance/faq',- title: 'Frequently asked questions',- relativePath: 'docs/license-pricing-compliance/faq.mdx',+ id: 'license/faq',+ title: 'License FAQ',+ relativePath: 'docs/license/faq.mdx',compId: 'articles-docs-license-pricing-compliance-faq',crumb: 'License, Pricing and Compliance',noAi: false,- slug: 'license-pricing-compliance/faq',+ slug: 'license/faq',},{- id: 'license-pricing-compliance/index',+ id: 'license',title: 'License, Pricing and Compliance',- relativePath: 'docs/license-pricing-compliance/index.mdx',+ relativePath: 'docs/license.mdx',compId: 'articles-docs-license-pricing-compliance-index',crumb: 'Overview',noAi: false,- slug: 'license-pricing-compliance/index',- },- {- id: 'license',- title: 'License & Pricing',- relativePath: 'docs/license.mdx',- compId: 'articles-docs-license',- crumb: null,- noAi: false,slug: 'license',},{@@ -5267,13 +5258,13 @@ export const articles = [slug: 'preview',},{- id: 'pricing',+ id: 'license/pricing',title: 'License & Pricing',- relativePath: 'docs/pricing.mdx',+ relativePath: 'docs/license/pricing.mdx',compId: 'articles-docs-pricing',crumb: 'License, Pricing and Compliance',noAi: false,- slug: 'pricing',+ slug: 'license/pricing',},{id: 'quality',diff --git a/packages/promo-pages/src/components/homepage/Pricing.tsx b/packages/promo-pages/src/components/homepage/Pricing.tsxindex cd4bef5d8e..124e4ce6a0 100644--- a/packages/promo-pages/src/components/homepage/Pricing.tsx+++ b/packages/promo-pages/src/components/homepage/Pricing.tsx@@ -3,15 +3,23 @@ import {CompanyPricing, EnterpriseLicense, FreePricing} from './FreePricing';export const Pricing: React.FC<{readonly faqHref?: string;+ readonly faqLabel?: string;+ readonly licenseHref?: string;readonly termsHref?: string;}> = ({- faqHref = '/docs/license-pricing-compliance/faq',+ faqHref = '/docs/license/faq',+ faqLabel = 'License FAQ',+ licenseHref = 'https://github.com/remotion-dev/remotion/blob/main/LICENSE.md',termsHref = 'https://www.remotion.pro/terms',}) => {const faqLinkTarget = useMemo(() => {return faqHref.startsWith('http') ? '_blank' : undefined;}, [faqHref]);+ const licenseLinkTarget = useMemo(() => {+ return licenseHref.startsWith('http') ? '_blank' : undefined;+ }, [licenseHref]);+const termsLinkTarget = useMemo(() => {return termsHref.startsWith('http') ? '_blank' : undefined;}, [termsHref]);@@ -40,10 +48,18 @@ export const Pricing: React.FC<{}}>See our{' '}+ <a+ target={licenseLinkTarget}+ className="bluelink"+ href={licenseHref}+ >+ LICENSE.md+ </a>+ {', '}<a target={faqLinkTarget} className="bluelink" href={faqHref}>- FAQ- </a>{' '}- and{' '}+ {faqLabel}+ </a>+ {', and '}<a target={termsLinkTarget} className="bluelink" href={termsHref}>Terms and Conditions</a>{' '}