π₯ Make videos programmatically with React
Docs: Link every option to its generated reference
Jonny Burgeradba68084a5b
diff --git a/.agents/skills/add-cli-option/SKILL.md b/.agents/skills/add-cli-option/SKILL.mdindex 15785abc0b..d8a3128408 100644--- a/.agents/skills/add-cli-option/SKILL.md+++ b/.agents/skills/add-cli-option/SKILL.md@@ -24,7 +24,7 @@ export const myFlagOption = {id: cliFlag,description: () => <>Description shown in docs.</>,ssrName: null, // or 'myFlag' if used in SSR APIs- docLink: 'https://www.remotion.dev/docs/config#setmyflagenabled',+ docLink: 'https://www.remotion.dev/docs/options/my-flag',type: false as boolean, // TypeScript type witness; defaults are resolved in getValuegetValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {@@ -42,6 +42,8 @@ The type in `AnyRemotionOption<T>` and `type: <value> as T` determines the optioThe `id` must be unique and contain only lowercase letters, digits, and hyphens. It determines the `/docs/options/<id>` page and the `<Options id="..." />` value. It usually matches `cliFlag`, but shared flags can have distinct option IDs.+Set `docLink` to `https://www.remotion.dev/docs/options/<id>`.+For negating flags (like `--disable-ask-ai` β `askAIEnabled = false`), handle the inversion in `getValue`.## 2. Register in options indexdiff --git a/packages/docs/docs/options/allow-html-in-canvas.mdx b/packages/docs/docs/options/allow-html-in-canvas.mdxindex 254e2f2c24..2f2895f755 100644--- a/packages/docs/docs/options/allow-html-in-canvas.mdx+++ b/packages/docs/docs/options/allow-html-in-canvas.mdx@@ -38,4 +38,3 @@ Config.setAllowHtmlInCanvasEnabled(true);## See also- [All options](/docs/options)-- [Allow HTML-in-canvas for client-side rendering guide](/docs/client-side-rendering/html-in-canvas)diff --git a/packages/docs/docs/options/api-key.mdx b/packages/docs/docs/options/api-key.mdxindex f2288a7201..1ce0127b47 100644--- a/packages/docs/docs/options/api-key.mdx+++ b/packages/docs/docs/options/api-key.mdx@@ -21,4 +21,3 @@ The following APIs accept this option:## See also- [All options](/docs/options)-- [API key guide](/docs/licensing)diff --git a/packages/docs/docs/options/audio-bitrate.mdx b/packages/docs/docs/options/audio-bitrate.mdxindex 118f485b27..9bd36852a8 100644--- a/packages/docs/docs/options/audio-bitrate.mdx+++ b/packages/docs/docs/options/audio-bitrate.mdx@@ -48,4 +48,3 @@ Config.setAudioBitrate('128K');## See also- [All options](/docs/options)-- [Audio Bitrate guide](/docs/renderer/render-media#audiobitrate)diff --git a/packages/docs/docs/options/audio-codec.mdx b/packages/docs/docs/options/audio-codec.mdxindex 465b76ca78..4a52d8281b 100644--- a/packages/docs/docs/options/audio-codec.mdx+++ b/packages/docs/docs/options/audio-codec.mdx@@ -46,4 +46,3 @@ Config.setAudioCodec('pcm-16');## See also- [All options](/docs/options)-- [Audio Codec guide](/docs/encoding/#audio-codec)diff --git a/packages/docs/docs/options/audio-latency-hint.mdx b/packages/docs/docs/options/audio-latency-hint.mdxindex c04dfb27e4..28f6922652 100644--- a/packages/docs/docs/options/audio-latency-hint.mdx+++ b/packages/docs/docs/options/audio-latency-hint.mdx@@ -35,4 +35,3 @@ Config.setAudioLatencyHint('interactive');## See also- [All options](/docs/options)-- [Audio Latency Hint guide](/docs/renderer/render-media)diff --git a/packages/docs/docs/options/beep-on-finish.mdx b/packages/docs/docs/options/beep-on-finish.mdxindex 268414f7e8..1068e97690 100644--- a/packages/docs/docs/options/beep-on-finish.mdx+++ b/packages/docs/docs/options/beep-on-finish.mdx@@ -31,4 +31,3 @@ Config.setBeepOnFinish(true);## See also- [All options](/docs/options)-- [Beep on finish guide](/docs/config#setbeeponfinish)diff --git a/packages/docs/docs/options/binaries-directory.mdx b/packages/docs/docs/options/binaries-directory.mdxindex b08cccc4d0..3e65d47cbc 100644--- a/packages/docs/docs/options/binaries-directory.mdx+++ b/packages/docs/docs/options/binaries-directory.mdx@@ -54,4 +54,3 @@ Config.setBinariesDirectory('/path/to/custom/directory');## See also- [All options](/docs/options)-- [Binaries Directory guide](/docs/renderer)diff --git a/packages/docs/docs/options/browser-executable.mdx b/packages/docs/docs/options/browser-executable.mdxindex e45b676348..8e05232a17 100644--- a/packages/docs/docs/options/browser-executable.mdx+++ b/packages/docs/docs/options/browser-executable.mdx@@ -53,4 +53,3 @@ Config.setBrowserExecutable('/usr/bin/google-chrome-stable');## See also- [All options](/docs/options)-- [Browser executable guide](/docs/config#setbrowserexecutable)diff --git a/packages/docs/docs/options/browser.mdx b/packages/docs/docs/options/browser.mdxindex 3991a50a62..de97e1eda1 100644--- a/packages/docs/docs/options/browser.mdx+++ b/packages/docs/docs/options/browser.mdx@@ -23,4 +23,3 @@ The following CLI commands accept this option:## See also- [All options](/docs/options)-- [Browser guide](/docs/cli/studio#--browser)diff --git a/packages/docs/docs/options/buffer-size.mdx b/packages/docs/docs/options/buffer-size.mdxindex fb77cac7d4..55be39e5d9 100644--- a/packages/docs/docs/options/buffer-size.mdx+++ b/packages/docs/docs/options/buffer-size.mdx@@ -44,4 +44,3 @@ Config.setEncodingBufferSize('10000k');## See also- [All options](/docs/options)-- [FFmpeg -bufsize flag guide](/docs/renderer/render-media#buffersize)diff --git a/packages/docs/docs/options/bundle-cache.mdx b/packages/docs/docs/options/bundle-cache.mdxindex a6f00a40d6..909edb7dd1 100644--- a/packages/docs/docs/options/bundle-cache.mdx+++ b/packages/docs/docs/options/bundle-cache.mdx@@ -46,4 +46,3 @@ Config.setCachingEnabled(false);## See also- [All options](/docs/options)-- [Webpack Bundle Caching guide](/docs/config#setcachingenabled)diff --git a/packages/docs/docs/options/chrome-mode.mdx b/packages/docs/docs/options/chrome-mode.mdxindex c2918f8be9..fd5819136f 100644--- a/packages/docs/docs/options/chrome-mode.mdx+++ b/packages/docs/docs/options/chrome-mode.mdx@@ -50,4 +50,3 @@ Config.setChromeMode('chrome-for-testing');## See also- [All options](/docs/options)-- [Chrome Mode guide](/docs/miscellaneous/chrome-headless-shell)diff --git a/packages/docs/docs/options/codec.mdx b/packages/docs/docs/options/codec.mdxindex e78a8971aa..753ad8a384 100644--- a/packages/docs/docs/options/codec.mdx+++ b/packages/docs/docs/options/codec.mdx@@ -44,4 +44,3 @@ Config.setCodec('h265');## See also- [All options](/docs/options)-- [Codec guide](/docs/encoding/#choosing-a-codec)diff --git a/packages/docs/docs/options/coding-agent.mdx b/packages/docs/docs/options/coding-agent.mdxindex 8ece63d980..ee22967369 100644--- a/packages/docs/docs/options/coding-agent.mdx+++ b/packages/docs/docs/options/coding-agent.mdx@@ -31,4 +31,3 @@ Config.setDefaultCodingAgent('codex');## See also- [All options](/docs/options)-- [Default coding agent guide](/docs/config#setdefaultcodingagent)diff --git a/packages/docs/docs/options/color-space.mdx b/packages/docs/docs/options/color-space.mdxindex d4b28f91ad..08db5d57fe 100644--- a/packages/docs/docs/options/color-space.mdx+++ b/packages/docs/docs/options/color-space.mdx@@ -36,4 +36,3 @@ The following APIs accept this option:## See also- [All options](/docs/options)-- [Color space guide](/docs/renderer/render-media#colorspace)diff --git a/packages/docs/docs/options/concurrencies.mdx b/packages/docs/docs/options/concurrencies.mdxindex 69b02a141e..baaf21affb 100644--- a/packages/docs/docs/options/concurrencies.mdx+++ b/packages/docs/docs/options/concurrencies.mdx@@ -31,4 +31,3 @@ Config.setBenchmarkConcurrencies('1,4,8');## See also- [All options](/docs/options)-- [Benchmark concurrencies guide](/docs/cli/benchmark#--concurrencies)diff --git a/packages/docs/docs/options/concurrency.mdx b/packages/docs/docs/options/concurrency.mdxindex d54e7f1f96..abc2ecc702 100644--- a/packages/docs/docs/options/concurrency.mdx+++ b/packages/docs/docs/options/concurrency.mdx@@ -44,4 +44,3 @@ Config.setConcurrency(8);## See also- [All options](/docs/options)-- [Concurrency guide](/docs/config#setconcurrency)diff --git a/packages/docs/docs/options/config.mdx b/packages/docs/docs/options/config.mdxindex 7a26760418..96a100c6a3 100644--- a/packages/docs/docs/options/config.mdx+++ b/packages/docs/docs/options/config.mdx@@ -35,4 +35,3 @@ The following CLI commands accept this option:## See also- [All options](/docs/options)-- [Config file guide](/docs/config)diff --git a/packages/docs/docs/options/crf.mdx b/packages/docs/docs/options/crf.mdxindex b900e70d89..a5866abe29 100644--- a/packages/docs/docs/options/crf.mdx+++ b/packages/docs/docs/options/crf.mdx@@ -44,4 +44,3 @@ Config.setCrf(16);## See also- [All options](/docs/options)-- [CRF guide](/docs/encoding/#controlling-quality-using-the-crf-setting)diff --git a/packages/docs/docs/options/cross-site-isolation.mdx b/packages/docs/docs/options/cross-site-isolation.mdxindex 0d42273cef..45c3cd4522 100644--- a/packages/docs/docs/options/cross-site-isolation.mdx+++ b/packages/docs/docs/options/cross-site-isolation.mdx@@ -31,4 +31,3 @@ Config.setEnableCrossSiteIsolation(true);## See also- [All options](/docs/options)-- [Enable Cross-Site Isolation guide](/docs/config#setenablecrosssiteisolation)diff --git a/packages/docs/docs/options/dark-mode.mdx b/packages/docs/docs/options/dark-mode.mdxindex 810855a509..cba8f13fb0 100644--- a/packages/docs/docs/options/dark-mode.mdx+++ b/packages/docs/docs/options/dark-mode.mdx@@ -52,4 +52,3 @@ Config.setChromiumDarkMode(true);## See also- [All options](/docs/options)-- [Dark Mode guide](/docs/chromium-flags#--dark-mode)diff --git a/packages/docs/docs/options/delete-after.mdx b/packages/docs/docs/options/delete-after.mdxindex 04918f9403..f1c884e275 100644--- a/packages/docs/docs/options/delete-after.mdx+++ b/packages/docs/docs/options/delete-after.mdx@@ -39,4 +39,3 @@ Config.setDeleteAfter('3-days');## See also- [All options](/docs/options)-- [Lambda render expiration guide](/docs/lambda/autodelete)diff --git a/packages/docs/docs/options/disable-ask-ai.mdx b/packages/docs/docs/options/disable-ask-ai.mdxindex 8bb78cf27b..646b5b88b3 100644--- a/packages/docs/docs/options/disable-ask-ai.mdx+++ b/packages/docs/docs/options/disable-ask-ai.mdx@@ -46,4 +46,3 @@ Config.setAskAIEnabled(false);## See also- [All options](/docs/options)-- [Disable or Enable the Ask AI option guide](/docs/config#setaskaienabled)diff --git a/packages/docs/docs/options/disable-canvas-tabs.mdx b/packages/docs/docs/options/disable-canvas-tabs.mdxindex 9434a15701..03fb21dc4d 100644--- a/packages/docs/docs/options/disable-canvas-tabs.mdx+++ b/packages/docs/docs/options/disable-canvas-tabs.mdx@@ -31,4 +31,3 @@ Config.setCanvasTabsEnabled(false);## See also- [All options](/docs/options)-- [Disable or enable Studio canvas tabs guide](/docs/config#setcanvastabsenabled)diff --git a/packages/docs/docs/options/disable-git-source.mdx b/packages/docs/docs/options/disable-git-source.mdxindex cc28c61a82..44aa5a52ab 100644--- a/packages/docs/docs/options/disable-git-source.mdx+++ b/packages/docs/docs/options/disable-git-source.mdx@@ -26,4 +26,3 @@ The following CLI commands accept this option:## See also- [All options](/docs/options)-- [Disable Git source guide](/docs/bundle)diff --git a/packages/docs/docs/options/disable-headless.mdx b/packages/docs/docs/options/disable-headless.mdxindex 2e077d3427..af63f5b14a 100644--- a/packages/docs/docs/options/disable-headless.mdx+++ b/packages/docs/docs/options/disable-headless.mdx@@ -51,4 +51,3 @@ Config.setChromiumHeadlessMode(false);## See also- [All options](/docs/options)-- [Disable Headless Mode guide](/docs/chromium-flags#--disable-headless)diff --git a/packages/docs/docs/options/disable-interactivity.mdx b/packages/docs/docs/options/disable-interactivity.mdxindex 854741ae58..cbf8dfb2fe 100644--- a/packages/docs/docs/options/disable-interactivity.mdx+++ b/packages/docs/docs/options/disable-interactivity.mdx@@ -31,4 +31,3 @@ Config.setInteractivityEnabled(false);## See also- [All options](/docs/options)-- [Disable or enable Studio interactivity guide](/docs/config#setinteractivityenabled)diff --git a/packages/docs/docs/options/disable-keyboard-shortcuts.mdx b/packages/docs/docs/options/disable-keyboard-shortcuts.mdxindex 4441bea6c1..faa8e80732 100644--- a/packages/docs/docs/options/disable-keyboard-shortcuts.mdx+++ b/packages/docs/docs/options/disable-keyboard-shortcuts.mdx@@ -46,4 +46,3 @@ Config.setKeyboardShortcutsEnabled(false);## See also- [All options](/docs/options)-- [Disable or Enable keyboard shortcuts guide](/docs/config#setkeyboardshortcutsenabled)diff --git a/packages/docs/docs/options/disable-web-security.mdx b/packages/docs/docs/options/disable-web-security.mdxindex 58d90d3f28..43d0a3bb84 100644--- a/packages/docs/docs/options/disable-web-security.mdx+++ b/packages/docs/docs/options/disable-web-security.mdx@@ -56,4 +56,3 @@ Config.setChromiumDisableWebSecurity(true);## See also- [All options](/docs/options)-- [Disable web security guide](/docs/chromium-flags#--disable-web-security)diff --git a/packages/docs/docs/options/disallow-parallel-encoding.mdx b/packages/docs/docs/options/disallow-parallel-encoding.mdxindex 714abbc841..3abb784d9d 100644--- a/packages/docs/docs/options/disallow-parallel-encoding.mdx+++ b/packages/docs/docs/options/disallow-parallel-encoding.mdx@@ -38,4 +38,3 @@ Config.setDisallowParallelEncoding(true);## See also- [All options](/docs/options)-- [Disallow parallel encoding guide](/docs/config#setdisallowparallelencoding)diff --git a/packages/docs/docs/options/duration.mdx b/packages/docs/docs/options/duration.mdxindex 9b9ab97ba3..18269029bf 100644--- a/packages/docs/docs/options/duration.mdx+++ b/packages/docs/docs/options/duration.mdx@@ -37,4 +37,3 @@ Config.overrideDuration(300);## See also- [All options](/docs/options)-- [Override Duration guide](/docs/config#overrideduration)diff --git a/packages/docs/docs/options/editor.mdx b/packages/docs/docs/options/editor.mdxindex 4d362fcf69..1a9e85571e 100644--- a/packages/docs/docs/options/editor.mdx+++ b/packages/docs/docs/options/editor.mdx@@ -31,4 +31,3 @@ Config.setDefaultEditor('cursor');## See also- [All options](/docs/options)-- [Default editor guide](/docs/studio/open-in-editor)diff --git a/packages/docs/docs/options/enable-cancellation.mdx b/packages/docs/docs/options/enable-cancellation.mdxindex 43906864bc..6bef1d894f 100644--- a/packages/docs/docs/options/enable-cancellation.mdx+++ b/packages/docs/docs/options/enable-cancellation.mdx@@ -31,4 +31,3 @@ Config.setEnableCancellation(true);## See also- [All options](/docs/options)-- [Enable cancellation guide](/docs/lambda/cli/render#--enable-cancellation)diff --git a/packages/docs/docs/options/enable-folder-expiry.mdx b/packages/docs/docs/options/enable-folder-expiry.mdxindex 872686de60..d73165e4dc 100644--- a/packages/docs/docs/options/enable-folder-expiry.mdx+++ b/packages/docs/docs/options/enable-folder-expiry.mdx@@ -37,4 +37,3 @@ Config.setEnableFolderExpiry(true);## See also- [All options](/docs/options)-- [Lambda render expiration guide](/docs/lambda/autodelete)diff --git a/packages/docs/docs/options/enable-lambda-insights.mdx b/packages/docs/docs/options/enable-lambda-insights.mdxindex 6b40fcb302..a8597857e3 100644--- a/packages/docs/docs/options/enable-lambda-insights.mdx+++ b/packages/docs/docs/options/enable-lambda-insights.mdx@@ -37,4 +37,3 @@ Config.setLambdaInsights(true);## See also- [All options](/docs/options)-- [Enable Lambda Insights guide](/docs/lambda/insights)diff --git a/packages/docs/docs/options/enable-multiprocess-on-linux.mdx b/packages/docs/docs/options/enable-multiprocess-on-linux.mdxindex 533c415c26..3a307a53fe 100644--- a/packages/docs/docs/options/enable-multiprocess-on-linux.mdx+++ b/packages/docs/docs/options/enable-multiprocess-on-linux.mdx@@ -51,4 +51,3 @@ Config.setChromiumMultiProcessOnLinux(true);## See also- [All options](/docs/options)-- [Enable Multiprocess on Linux guide](/docs/chromium-flags)diff --git a/packages/docs/docs/options/enforce-audio-track.mdx b/packages/docs/docs/options/enforce-audio-track.mdxindex d5b0465fca..0a919fe92b 100644--- a/packages/docs/docs/options/enforce-audio-track.mdx+++ b/packages/docs/docs/options/enforce-audio-track.mdx@@ -52,4 +52,3 @@ Config.setEnforceAudioTrack(true);## See also- [All options](/docs/options)-- [Enforce Audio Track guide](/docs/config#setenforceaudiotrack)diff --git a/packages/docs/docs/options/env-file.mdx b/packages/docs/docs/options/env-file.mdxindex 374c048cb5..bdb72392cb 100644--- a/packages/docs/docs/options/env-file.mdx+++ b/packages/docs/docs/options/env-file.mdx@@ -40,4 +40,3 @@ Config.setDotEnvLocation('.my-env');## See also- [All options](/docs/options)-- [Env File guide](/docs/cli/render#--env-file)diff --git a/packages/docs/docs/options/every-nth-frame.mdx b/packages/docs/docs/options/every-nth-frame.mdxindex f95b569a6d..a4ac85ae6e 100644--- a/packages/docs/docs/options/every-nth-frame.mdx+++ b/packages/docs/docs/options/every-nth-frame.mdx@@ -45,4 +45,3 @@ Config.setEveryNthFrame(2);## See also- [All options](/docs/options)-- [Every nth frame guide](/docs/config#seteverynthframe)diff --git a/packages/docs/docs/options/experimental-keep-audio-context-alive.mdx b/packages/docs/docs/options/experimental-keep-audio-context-alive.mdxindex 1e16b82b37..fa7f293c7c 100644--- a/packages/docs/docs/options/experimental-keep-audio-context-alive.mdx+++ b/packages/docs/docs/options/experimental-keep-audio-context-alive.mdx@@ -31,4 +31,3 @@ Config.setExperimentalKeepAudioContextAlive(true);## See also- [All options](/docs/options)-- [Keep AudioContext alive (experimental) guide](/docs/config#setexperimentalkeepaudiocontextalive)diff --git a/packages/docs/docs/options/for-seamless-aac-concatenation.mdx b/packages/docs/docs/options/for-seamless-aac-concatenation.mdxindex 8cf1c30f1a..09d732a1eb 100644--- a/packages/docs/docs/options/for-seamless-aac-concatenation.mdx+++ b/packages/docs/docs/options/for-seamless-aac-concatenation.mdx@@ -40,4 +40,3 @@ Config.setForSeamlessAacConcatenation(true);## See also- [All options](/docs/options)-- [For seamless AAC concatenation guide](/docs/renderer)diff --git a/packages/docs/docs/options/force-new.mdx b/packages/docs/docs/options/force-new.mdxindex 8f0cef1a62..32ee513db5 100644--- a/packages/docs/docs/options/force-new.mdx+++ b/packages/docs/docs/options/force-new.mdx@@ -31,4 +31,3 @@ Config.setForceNewStudioEnabled(true);## See also- [All options](/docs/options)-- [Force New Studio guide](/docs/config#setforcenewstudioenabled)diff --git a/packages/docs/docs/options/fps.mdx b/packages/docs/docs/options/fps.mdxindex 7ccbbd0787..789a57c9f5 100644--- a/packages/docs/docs/options/fps.mdx+++ b/packages/docs/docs/options/fps.mdx@@ -37,4 +37,3 @@ Config.overrideFps(25);## See also- [All options](/docs/options)-- [Override FPS guide](/docs/config#overridefps)diff --git a/packages/docs/docs/options/frame.mdx b/packages/docs/docs/options/frame.mdxindex e5c76494dc..12e1172d9d 100644--- a/packages/docs/docs/options/frame.mdx+++ b/packages/docs/docs/options/frame.mdx@@ -34,4 +34,3 @@ The following APIs accept this option:## See also- [All options](/docs/options)-- [Frame guide](/docs/cli/still#--frame)diff --git a/packages/docs/docs/options/frames.mdx b/packages/docs/docs/options/frames.mdxindex cc35733fa9..c277464175 100644--- a/packages/docs/docs/options/frames.mdx+++ b/packages/docs/docs/options/frames.mdx@@ -45,4 +45,3 @@ Config.setFrameRange(90); // To render only the 91st frame## See also- [All options](/docs/options)-- [Frame Range guide](/docs/config#setframerange)diff --git a/packages/docs/docs/options/gl.mdx b/packages/docs/docs/options/gl.mdxindex e942def04c..2f2f1d6210 100644--- a/packages/docs/docs/options/gl.mdx+++ b/packages/docs/docs/options/gl.mdx@@ -74,4 +74,3 @@ Config.setChromiumOpenGlRenderer('angle');## See also- [All options](/docs/options)-- [OpenGL renderer guide](/docs/chromium-flags#--gl)diff --git a/packages/docs/docs/options/gop.mdx b/packages/docs/docs/options/gop.mdxindex 6eb94b053c..61b35a1f75 100644--- a/packages/docs/docs/options/gop.mdx+++ b/packages/docs/docs/options/gop.mdx@@ -44,4 +44,3 @@ Config.setGopSize(239);## See also- [All options](/docs/options)-- [GOP size guide](/docs/config#setgopsize)diff --git a/packages/docs/docs/options/hardware-acceleration.mdx b/packages/docs/docs/options/hardware-acceleration.mdxindex 1ac25e35e6..cd7bdc0af3 100644--- a/packages/docs/docs/options/hardware-acceleration.mdx+++ b/packages/docs/docs/options/hardware-acceleration.mdx@@ -45,4 +45,3 @@ Config.setHardwareAcceleration('if-possible');## See also- [All options](/docs/options)-- [Hardware Acceleration guide](/docs/encoding)diff --git a/packages/docs/docs/options/height.mdx b/packages/docs/docs/options/height.mdxindex 77f339fc3e..fac69b73ab 100644--- a/packages/docs/docs/options/height.mdx+++ b/packages/docs/docs/options/height.mdx@@ -37,4 +37,3 @@ Config.overrideHeight(600);## See also- [All options](/docs/options)-- [Override Height guide](/docs/config#overrideheight)diff --git a/packages/docs/docs/options/ignore-certificate-errors.mdx b/packages/docs/docs/options/ignore-certificate-errors.mdxindex c313fcee75..e7d291de83 100644--- a/packages/docs/docs/options/ignore-certificate-errors.mdx+++ b/packages/docs/docs/options/ignore-certificate-errors.mdx@@ -56,4 +56,3 @@ Config.setChromiumIgnoreCertificateErrors(true);## See also- [All options](/docs/options)-- [Ignore certificate errors guide](/docs/chromium-flags#--ignore-certificate-errors)diff --git a/packages/docs/docs/options/ipv4.mdx b/packages/docs/docs/options/ipv4.mdxindex 4698f05fbd..ac5149513c 100644--- a/packages/docs/docs/options/ipv4.mdx+++ b/packages/docs/docs/options/ipv4.mdx@@ -31,4 +31,3 @@ Config.setIPv4(true);## See also- [All options](/docs/options)-- [IPv4 guide](/docs/cli/studio)diff --git a/packages/docs/docs/options/is-production.mdx b/packages/docs/docs/options/is-production.mdxindex e588fa7324..4a030e9fe7 100644--- a/packages/docs/docs/options/is-production.mdx+++ b/packages/docs/docs/options/is-production.mdx@@ -35,4 +35,3 @@ The following APIs accept this option:## See also- [All options](/docs/options)-- [Is Production guide](/docs/licensing)diff --git a/packages/docs/docs/options/jpeg-quality.mdx b/packages/docs/docs/options/jpeg-quality.mdxindex e761861d9f..1eb5426870 100644--- a/packages/docs/docs/options/jpeg-quality.mdx+++ b/packages/docs/docs/options/jpeg-quality.mdx@@ -50,4 +50,3 @@ Config.setJpegQuality(90);## See also- [All options](/docs/options)-- [JPEG Quality guide](/docs/renderer/render-media#jpegquality)diff --git a/packages/docs/docs/options/license-key.mdx b/packages/docs/docs/options/license-key.mdxindex 5461b08017..b30d0c81e0 100644--- a/packages/docs/docs/options/license-key.mdx+++ b/packages/docs/docs/options/license-key.mdx@@ -35,4 +35,3 @@ The following APIs accept this option:## See also- [All options](/docs/options)-- [License key guide](/docs/licensing)diff --git a/packages/docs/docs/options/log.mdx b/packages/docs/docs/options/log.mdxindex 1422fab901..115ff808fd 100644--- a/packages/docs/docs/options/log.mdx+++ b/packages/docs/docs/options/log.mdx@@ -72,4 +72,3 @@ Config.setLogLevel('verbose');## See also- [All options](/docs/options)-- [Log Level guide](/docs/troubleshooting/debug-failed-render)diff --git a/packages/docs/docs/options/max-rate.mdx b/packages/docs/docs/options/max-rate.mdxindex 77ce712b21..b85cc439aa 100644--- a/packages/docs/docs/options/max-rate.mdx+++ b/packages/docs/docs/options/max-rate.mdx@@ -44,4 +44,3 @@ Config.setEncodingMaxRate('5000k');## See also- [All options](/docs/options)-- [FFmpeg -maxrate flag guide](/docs/renderer/render-media#maxrate)diff --git a/packages/docs/docs/options/media-cache-size-in-bytes.mdx b/packages/docs/docs/options/media-cache-size-in-bytes.mdxindex b7f30a7255..38e018f05f 100644--- a/packages/docs/docs/options/media-cache-size-in-bytes.mdx+++ b/packages/docs/docs/options/media-cache-size-in-bytes.mdx@@ -48,4 +48,3 @@ The following APIs accept this option:## See also- [All options](/docs/options)-- [@remotion/media cache size guide](/docs/media/cache)diff --git a/packages/docs/docs/options/metadata.mdx b/packages/docs/docs/options/metadata.mdxindex 9eb01291c4..32ad855c18 100644--- a/packages/docs/docs/options/metadata.mdx+++ b/packages/docs/docs/options/metadata.mdx@@ -44,4 +44,3 @@ The following APIs accept this option:## See also- [All options](/docs/options)-- [Metadata guide](/docs/metadata)diff --git a/packages/docs/docs/options/muted.mdx b/packages/docs/docs/options/muted.mdxindex 436fd8f895..1a27007570 100644--- a/packages/docs/docs/options/muted.mdx+++ b/packages/docs/docs/options/muted.mdx@@ -47,4 +47,3 @@ Config.setMuted(true);## See also- [All options](/docs/options)-- [Muted guide](/docs/audio/muting)diff --git a/packages/docs/docs/options/no-open.mdx b/packages/docs/docs/options/no-open.mdxindex 0611162015..5e8b1bd799 100644--- a/packages/docs/docs/options/no-open.mdx+++ b/packages/docs/docs/options/no-open.mdx@@ -32,4 +32,3 @@ Config.setShouldOpenBrowser(false);## See also- [All options](/docs/options)-- [Disable browser auto-open guide](/docs/cli/studio#--no-open)diff --git a/packages/docs/docs/options/number-of-gif-loops.mdx b/packages/docs/docs/options/number-of-gif-loops.mdxindex 8126f329ff..f8a05c3d88 100644--- a/packages/docs/docs/options/number-of-gif-loops.mdx+++ b/packages/docs/docs/options/number-of-gif-loops.mdx@@ -50,4 +50,3 @@ Config.setNumberOfGifLoops(2);## See also- [All options](/docs/options)-- [Number of GIF loops guide](/docs/render-as-gif#changing-the-number-of-loops)diff --git a/packages/docs/docs/options/number-of-shared-audio-tags.mdx b/packages/docs/docs/options/number-of-shared-audio-tags.mdxindex 319fbb20a5..471c7e1c69 100644--- a/packages/docs/docs/options/number-of-shared-audio-tags.mdx+++ b/packages/docs/docs/options/number-of-shared-audio-tags.mdx@@ -32,4 +32,3 @@ Config.setNumberOfSharedAudioTags(5);## See also- [All options](/docs/options)-- [Number of shared audio tags guide](/docs/config#setnumberofsharedaudiotags)diff --git a/packages/docs/docs/options/offthreadvideo-cache-size-in-bytes.mdx b/packages/docs/docs/options/offthreadvideo-cache-size-in-bytes.mdxindex 5bd5915c97..99ed9ea130 100644--- a/packages/docs/docs/options/offthreadvideo-cache-size-in-bytes.mdx+++ b/packages/docs/docs/options/offthreadvideo-cache-size-in-bytes.mdx@@ -46,4 +46,3 @@ The following APIs accept this option:## See also- [All options](/docs/options)-- [OffthreadVideo cache size guide](/docs/offthreadvideo)diff --git a/packages/docs/docs/options/offthreadvideo-video-threads.mdx b/packages/docs/docs/options/offthreadvideo-video-threads.mdxindex 7cc17e1769..1392601d51 100644--- a/packages/docs/docs/options/offthreadvideo-video-threads.mdx+++ b/packages/docs/docs/options/offthreadvideo-video-threads.mdx@@ -45,4 +45,3 @@ The following APIs accept this option:## See also- [All options](/docs/options)-- [OffthreadVideo threads guide](/docs/offthreadvideo)diff --git a/packages/docs/docs/options/on-browser-download.mdx b/packages/docs/docs/options/on-browser-download.mdxindex 3dd6d02d08..c0cf78bc9d 100644--- a/packages/docs/docs/options/on-browser-download.mdx+++ b/packages/docs/docs/options/on-browser-download.mdx@@ -25,4 +25,3 @@ The following APIs accept this option:## See also- [All options](/docs/options)-- [Browser download callback function guide](/docs/renderer/ensure-browser)diff --git a/packages/docs/docs/options/out-dir.mdx b/packages/docs/docs/options/out-dir.mdxindex f415bddec3..1f37337225 100644--- a/packages/docs/docs/options/out-dir.mdx+++ b/packages/docs/docs/options/out-dir.mdx@@ -37,4 +37,3 @@ Config.setBundleOutDir('./custom-build-dir');## See also- [All options](/docs/options)-- [Output Directory guide](/docs/cli/bundle#--out-dir)diff --git a/packages/docs/docs/options/overwrite.mdx b/packages/docs/docs/options/overwrite.mdxindex 488d1dac92..0e6d5f5af9 100644--- a/packages/docs/docs/options/overwrite.mdx+++ b/packages/docs/docs/options/overwrite.mdx@@ -34,4 +34,3 @@ The following APIs accept this option:## See also- [All options](/docs/options)-- [Overwrite output guide](/docs/config#setoverwriteoutput)diff --git a/packages/docs/docs/options/package-manager.mdx b/packages/docs/docs/options/package-manager.mdxindex 9be07c1484..be2fb67198 100644--- a/packages/docs/docs/options/package-manager.mdx+++ b/packages/docs/docs/options/package-manager.mdx@@ -24,4 +24,3 @@ The following CLI commands accept this option:## See also- [All options](/docs/options)-- [Package Manager guide](/docs/cli/upgrade#--package-manager)diff --git a/packages/docs/docs/options/pixel-format.mdx b/packages/docs/docs/options/pixel-format.mdxindex 039fe13fcc..bbfb8ca4c3 100644--- a/packages/docs/docs/options/pixel-format.mdx+++ b/packages/docs/docs/options/pixel-format.mdx@@ -44,4 +44,3 @@ Config.setPixelFormat('yuv420p');## See also- [All options](/docs/options)-- [Pixel format guide](/docs/config#setpixelformat)diff --git a/packages/docs/docs/options/port.mdx b/packages/docs/docs/options/port.mdxindex 0bf6c45085..5cac87f50b 100644--- a/packages/docs/docs/options/port.mdx+++ b/packages/docs/docs/options/port.mdx@@ -45,4 +45,3 @@ Config.setRendererPort(3004);## See also- [All options](/docs/options)-- [Port guide](/docs/config#setstudioport)diff --git a/packages/docs/docs/options/prefer-lossless.mdx b/packages/docs/docs/options/prefer-lossless.mdxindex 5afb67c604..ddb2c89572 100644--- a/packages/docs/docs/options/prefer-lossless.mdx+++ b/packages/docs/docs/options/prefer-lossless.mdx@@ -39,4 +39,3 @@ Config.setPreferLosslessAudio(true);## See also- [All options](/docs/options)-- [Prefer lossless guide](/docs/encoding)diff --git a/packages/docs/docs/options/preview-sample-rate.mdx b/packages/docs/docs/options/preview-sample-rate.mdxindex 4cbd05872f..c7e3a5b3a7 100644--- a/packages/docs/docs/options/preview-sample-rate.mdx+++ b/packages/docs/docs/options/preview-sample-rate.mdx@@ -31,4 +31,3 @@ Config.setPreviewSampleRate(44100);## See also- [All options](/docs/options)-- [Preview Sample Rate guide](/docs/config#setpreviewsamplerate)diff --git a/packages/docs/docs/options/props.mdx b/packages/docs/docs/options/props.mdxindex b0bc9176ba..43709602a7 100644--- a/packages/docs/docs/options/props.mdx+++ b/packages/docs/docs/options/props.mdx@@ -32,4 +32,3 @@ The following CLI commands accept this option:## See also- [All options](/docs/options)-- [Input Props guide](/docs/passing-props#passing-input-props-in-the-cli)diff --git a/packages/docs/docs/options/prores-profile.mdx b/packages/docs/docs/options/prores-profile.mdxindex 53ee87d14c..879e5d98af 100644--- a/packages/docs/docs/options/prores-profile.mdx+++ b/packages/docs/docs/options/prores-profile.mdx@@ -44,4 +44,3 @@ Config.setProResProfile('4444');## See also- [All options](/docs/options)-- [ProRes profile guide](/docs/config#setproresprofile)diff --git a/packages/docs/docs/options/public-dir.mdx b/packages/docs/docs/options/public-dir.mdxindex 65e03ab7ce..d9f07fa561 100644--- a/packages/docs/docs/options/public-dir.mdx+++ b/packages/docs/docs/options/public-dir.mdx@@ -45,4 +45,3 @@ Config.setPublicDir('./custom-public-dir');## See also- [All options](/docs/options)-- [Public Directory guide](/docs/terminology/public-dir)diff --git a/packages/docs/docs/options/public-license-key.mdx b/packages/docs/docs/options/public-license-key.mdxindex 7888fe6dbf..d73f12540e 100644--- a/packages/docs/docs/options/public-license-key.mdx+++ b/packages/docs/docs/options/public-license-key.mdx@@ -33,4 +33,3 @@ Config.setPublicLicenseKey('your-license-key');## See also- [All options](/docs/options)-- [Public License Key guide](/docs/licensing)diff --git a/packages/docs/docs/options/public-path.mdx b/packages/docs/docs/options/public-path.mdxindex 5c59ff2589..125047c2da 100644--- a/packages/docs/docs/options/public-path.mdx+++ b/packages/docs/docs/options/public-path.mdx@@ -33,4 +33,3 @@ The following APIs accept this option:## See also- [All options](/docs/options)-- [Public Path guide](/docs/renderer)diff --git a/packages/docs/docs/options/repro.mdx b/packages/docs/docs/options/repro.mdxindex b62eac076c..ccd6cce453 100644--- a/packages/docs/docs/options/repro.mdx+++ b/packages/docs/docs/options/repro.mdx@@ -30,4 +30,3 @@ The following APIs accept this option:## See also- [All options](/docs/options)-- [Create reproduction guide](/docs/renderer/render-media#repro)diff --git a/packages/docs/docs/options/runs.mdx b/packages/docs/docs/options/runs.mdxindex 405f3d0f64..4a24d3f995 100644--- a/packages/docs/docs/options/runs.mdx+++ b/packages/docs/docs/options/runs.mdx@@ -31,4 +31,3 @@ Config.setBenchmarkRuns(5);## See also- [All options](/docs/options)-- [Benchmark runs guide](/docs/cli/benchmark#--runs)diff --git a/packages/docs/docs/options/sample-rate.mdx b/packages/docs/docs/options/sample-rate.mdxindex 1efd5cc4f1..8791fe7d24 100644--- a/packages/docs/docs/options/sample-rate.mdx+++ b/packages/docs/docs/options/sample-rate.mdx@@ -44,4 +44,3 @@ Config.setSampleRate(44100);## See also- [All options](/docs/options)-- [Sample Rate guide](/docs/sample-rate)diff --git a/packages/docs/docs/options/scale.mdx b/packages/docs/docs/options/scale.mdxindex cb53e47e12..39b2abe1be 100644--- a/packages/docs/docs/options/scale.mdx+++ b/packages/docs/docs/options/scale.mdx@@ -53,4 +53,3 @@ Config.setScale(2);## See also- [All options](/docs/options)-- [Scale guide](/docs/scaling)diff --git a/packages/docs/docs/options/separate-audio-to.mdx b/packages/docs/docs/options/separate-audio-to.mdxindex e8bdaf1994..a15bd49abb 100644--- a/packages/docs/docs/options/separate-audio-to.mdx+++ b/packages/docs/docs/options/separate-audio-to.mdx@@ -30,4 +30,3 @@ The following APIs accept this option:## See also- [All options](/docs/options)-- [Separate audio to guide](/docs/renderer/render-media)diff --git a/packages/docs/docs/options/sequence.mdx b/packages/docs/docs/options/sequence.mdxindex 167f8f410c..4b7ac042e8 100644--- a/packages/docs/docs/options/sequence.mdx+++ b/packages/docs/docs/options/sequence.mdx@@ -31,4 +31,3 @@ Config.setImageSequence(true);## See also- [All options](/docs/options)-- [Image Sequence guide](/docs/config#setimagesequence)diff --git a/packages/docs/docs/options/skip-skills.mdx b/packages/docs/docs/options/skip-skills.mdxindex b5dd95dc42..03833666c7 100644--- a/packages/docs/docs/options/skip-skills.mdx+++ b/packages/docs/docs/options/skip-skills.mdx@@ -23,4 +23,3 @@ The following CLI commands accept this option:## See also- [All options](/docs/options)-- [Skip Skills guide](/docs/cli/upgrade#--skip-skills)diff --git a/packages/docs/docs/options/still-image-format.mdx b/packages/docs/docs/options/still-image-format.mdxindex c229cb4e2f..cbcb6d5c9c 100644--- a/packages/docs/docs/options/still-image-format.mdx+++ b/packages/docs/docs/options/still-image-format.mdx@@ -42,4 +42,3 @@ Config.setStillImageFormat('pdf');## See also- [All options](/docs/options)-- [Still Image Format guide](/docs/renderer/render-still#imageformat)diff --git a/packages/docs/docs/options/throw-if-site-exists.mdx b/packages/docs/docs/options/throw-if-site-exists.mdxindex f844c493f1..8a1e77673d 100644--- a/packages/docs/docs/options/throw-if-site-exists.mdx+++ b/packages/docs/docs/options/throw-if-site-exists.mdx@@ -30,4 +30,3 @@ The following APIs accept this option:## See also- [All options](/docs/options)-- [Throw if site exists guide](/docs/lambda/deploysite)diff --git a/packages/docs/docs/options/timeout.mdx b/packages/docs/docs/options/timeout.mdxindex a1221f82e5..71433c0d0f 100644--- a/packages/docs/docs/options/timeout.mdx+++ b/packages/docs/docs/options/timeout.mdx@@ -54,4 +54,3 @@ Config.setDelayRenderTimeoutInMilliseconds(60000);## See also- [All options](/docs/options)-- [delayRender() timeout guide](/docs/timeout)diff --git a/packages/docs/docs/options/user-agent.mdx b/packages/docs/docs/options/user-agent.mdxindex fd9e0f1579..9d58204725 100644--- a/packages/docs/docs/options/user-agent.mdx+++ b/packages/docs/docs/options/user-agent.mdx@@ -43,4 +43,3 @@ The following APIs accept this option:## See also- [All options](/docs/options)-- [User agent guide](/docs/chromium-flags#--user-agent)diff --git a/packages/docs/docs/options/version.mdx b/packages/docs/docs/options/version.mdxindex f8b8b4a973..247fc87a9d 100644--- a/packages/docs/docs/options/version.mdx+++ b/packages/docs/docs/options/version.mdx@@ -23,4 +23,3 @@ The following CLI commands accept this option:## See also- [All options](/docs/options)-- [Version guide](/docs/cli/upgrade#--version)diff --git a/packages/docs/docs/options/video-bitrate.mdx b/packages/docs/docs/options/video-bitrate.mdxindex e35341528e..1d7f80b17c 100644--- a/packages/docs/docs/options/video-bitrate.mdx+++ b/packages/docs/docs/options/video-bitrate.mdx@@ -47,4 +47,3 @@ Config.setVideoBitrate('1M');## See also- [All options](/docs/options)-- [Video Bitrate guide](/docs/renderer/render-media#videobitrate)diff --git a/packages/docs/docs/options/video-image-format.mdx b/packages/docs/docs/options/video-image-format.mdxindex 1235e67956..9dc0a39d45 100644--- a/packages/docs/docs/options/video-image-format.mdx+++ b/packages/docs/docs/options/video-image-format.mdx@@ -44,4 +44,3 @@ Config.setVideoImageFormat('png');## See also- [All options](/docs/options)-- [Video Image Format guide](/docs/renderer/render-media#imageformat)diff --git a/packages/docs/docs/options/webhook-custom-data.mdx b/packages/docs/docs/options/webhook-custom-data.mdxindex 6e5971b32e..5412cc57f0 100644--- a/packages/docs/docs/options/webhook-custom-data.mdx+++ b/packages/docs/docs/options/webhook-custom-data.mdx@@ -29,4 +29,3 @@ The following CLI commands accept this option:## See also- [All options](/docs/options)-- [Webhook custom data guide](/docs/lambda/webhooks)diff --git a/packages/docs/docs/options/webpack-poll.mdx b/packages/docs/docs/options/webpack-poll.mdxindex e09d2cf4d8..c75559b025 100644--- a/packages/docs/docs/options/webpack-poll.mdx+++ b/packages/docs/docs/options/webpack-poll.mdx@@ -31,4 +31,3 @@ Config.setWebpackPollingInMilliseconds(1000);## See also- [All options](/docs/options)-- [Webpack Polling guide](/docs/config#setwebpackpollinginmilliseconds)diff --git a/packages/docs/docs/options/width.mdx b/packages/docs/docs/options/width.mdxindex dddc0b00ca..a8414ba520 100644--- a/packages/docs/docs/options/width.mdx+++ b/packages/docs/docs/options/width.mdx@@ -37,4 +37,3 @@ Config.overrideWidth(900);## See also- [All options](/docs/options)-- [Override Width guide](/docs/config#overridewidth)diff --git a/packages/docs/docs/options/x264-preset.mdx b/packages/docs/docs/options/x264-preset.mdxindex cf7f443107..c7925b9b04 100644--- a/packages/docs/docs/options/x264-preset.mdx+++ b/packages/docs/docs/options/x264-preset.mdx@@ -44,4 +44,3 @@ Config.setX264Preset('fast');## See also- [All options](/docs/options)-- [x264 Preset guide](/docs/renderer/render-media)diff --git a/packages/docs/generate-option-docs.ts b/packages/docs/generate-option-docs.tsindex a5cf8b8451..581e0fd4cb 100644--- a/packages/docs/generate-option-docs.ts+++ b/packages/docs/generate-option-docs.ts@@ -160,11 +160,6 @@ const generateOptionDocs = async () => {}sections.push('', '## See also', '', '- [All options](/docs/options)');- if (option.docLink !== null) {- sections.push(- `- [${option.name} guide](${option.docLink.replace(/^https:\/\/(www\.)?remotion\.dev/, '')})`,- );- }files.set(`${option.id}.mdx`, sections.join('\n'));indexItems.push(diff --git a/packages/renderer/src/options/allow-html-in-canvas.tsx b/packages/renderer/src/options/allow-html-in-canvas.tsxindex 3681846e2a..fee6cabc33 100644--- a/packages/renderer/src/options/allow-html-in-canvas.tsx+++ b/packages/renderer/src/options/allow-html-in-canvas.tsx@@ -19,7 +19,7 @@ export const allowHtmlInCanvasOption = {</>),ssrName: null,- docLink: 'https://www.remotion.dev/docs/client-side-rendering/html-in-canvas',+ docLink: 'https://www.remotion.dev/docs/options/allow-html-in-canvas',type: false as boolean,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== null) {diff --git a/packages/renderer/src/options/api-key.tsx b/packages/renderer/src/options/api-key.tsxindex b78b8a8149..3d7cfbc08a 100644--- a/packages/renderer/src/options/api-key.tsx+++ b/packages/renderer/src/options/api-key.tsx@@ -13,7 +13,7 @@ export const apiKeyOption = {</>),ssrName: 'apiKey' as const,- docLink: 'https://www.remotion.dev/docs/licensing',+ docLink: 'https://www.remotion.dev/docs/options/api-key',type: null as string | null,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/ask-ai.tsx b/packages/renderer/src/options/ask-ai.tsxindex 170367cfaf..9371f0ca04 100644--- a/packages/renderer/src/options/ask-ai.tsx+++ b/packages/renderer/src/options/ask-ai.tsx@@ -15,7 +15,7 @@ export const askAIOption = {</>),ssrName: null,- docLink: 'https://www.remotion.dev/docs/config#setaskaienabled',+ docLink: 'https://www.remotion.dev/docs/options/disable-ask-ai',type: false as boolean,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/audio-bitrate.tsx b/packages/renderer/src/options/audio-bitrate.tsxindex be575514c1..ff197c7dcb 100644--- a/packages/renderer/src/options/audio-bitrate.tsx+++ b/packages/renderer/src/options/audio-bitrate.tsx@@ -17,7 +17,7 @@ export const audioBitrateOption = {</>),ssrName: 'audioBitrate',- docLink: 'https://www.remotion.dev/docs/renderer/render-media#audiobitrate',+ docLink: 'https://www.remotion.dev/docs/options/audio-bitrate',type: '0' as string,getValue: ({commandLine}) => {if (commandLine[cliFlag]) {diff --git a/packages/renderer/src/options/audio-codec.tsx b/packages/renderer/src/options/audio-codec.tsxindex 49317c2fca..7ea7222ed7 100644--- a/packages/renderer/src/options/audio-codec.tsx+++ b/packages/renderer/src/options/audio-codec.tsx@@ -267,7 +267,7 @@ export const audioCodecOption = {},description: () =>`Set the format of the audio that is embedded in the video. Not all codec and audio codec combinations are supported and certain combinations require a certain file extension and container format. See the table in the docs to see possible combinations.`,- docLink: 'https://www.remotion.dev/docs/encoding/#audio-codec',+ docLink: 'https://www.remotion.dev/docs/options/audio-codec',name: 'Audio Codec',ssrName,type: 'aac' as AudioCodec,diff --git a/packages/renderer/src/options/beep-on-finish.tsx b/packages/renderer/src/options/beep-on-finish.tsxindex 35871b1628..ecd120f390 100644--- a/packages/renderer/src/options/beep-on-finish.tsx+++ b/packages/renderer/src/options/beep-on-finish.tsx@@ -14,7 +14,7 @@ export const beepOnFinishOption = {</>),ssrName: null,- docLink: 'https://www.remotion.dev/docs/config#setbeeponfinish',+ docLink: 'https://www.remotion.dev/docs/options/beep-on-finish',type: false as boolean,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {diff --git a/packages/renderer/src/options/benchmark-concurrencies.tsx b/packages/renderer/src/options/benchmark-concurrencies.tsxindex 9db66b234c..b851e543b8 100644--- a/packages/renderer/src/options/benchmark-concurrencies.tsx+++ b/packages/renderer/src/options/benchmark-concurrencies.tsx@@ -18,7 +18,7 @@ export const benchmarkConcurrenciesOption = {</>),ssrName: null,- docLink: 'https://www.remotion.dev/docs/cli/benchmark#--concurrencies',+ docLink: 'https://www.remotion.dev/docs/options/concurrencies',type: null as string | null,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/binaries-directory.tsx b/packages/renderer/src/options/binaries-directory.tsxindex 45f82dae15..5f357ecc4c 100644--- a/packages/renderer/src/options/binaries-directory.tsx+++ b/packages/renderer/src/options/binaries-directory.tsx@@ -21,7 +21,7 @@ export const binariesDirectoryOption = {</>),ssrName: 'binariesDirectory' as const,- docLink: 'https://www.remotion.dev/docs/renderer',+ docLink: 'https://www.remotion.dev/docs/options/binaries-directory',type: '' as string | null,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/browser-executable.tsx b/packages/renderer/src/options/browser-executable.tsxindex 427ba92d87..c81a9777cd 100644--- a/packages/renderer/src/options/browser-executable.tsx+++ b/packages/renderer/src/options/browser-executable.tsx@@ -18,7 +18,7 @@ export const browserExecutableOption = {</>),ssrName: 'browserExecutable' as const,- docLink: 'https://www.remotion.dev/docs/config#setbrowserexecutable',+ docLink: 'https://www.remotion.dev/docs/options/browser-executable',type: null as BrowserExecutable,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/browser.tsx b/packages/renderer/src/options/browser.tsxindex 9202418cab..a7af3f7876 100644--- a/packages/renderer/src/options/browser.tsx+++ b/packages/renderer/src/options/browser.tsx@@ -15,7 +15,7 @@ export const browserOption = {</>),ssrName: null,- docLink: 'https://www.remotion.dev/docs/cli/studio#--browser',+ docLink: 'https://www.remotion.dev/docs/options/browser',getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {return {diff --git a/packages/renderer/src/options/bundle-cache.tsx b/packages/renderer/src/options/bundle-cache.tsxindex dc274724f6..9df047d31d 100644--- a/packages/renderer/src/options/bundle-cache.tsx+++ b/packages/renderer/src/options/bundle-cache.tsx@@ -14,7 +14,7 @@ export const bundleCacheOption = {</>),ssrName: null,- docLink: 'https://www.remotion.dev/docs/config#setcachingenabled',+ docLink: 'https://www.remotion.dev/docs/options/bundle-cache',getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {return {diff --git a/packages/renderer/src/options/canvas-tabs.tsx b/packages/renderer/src/options/canvas-tabs.tsxindex 765fecb1b0..0dc8f9ecc4 100644--- a/packages/renderer/src/options/canvas-tabs.tsx+++ b/packages/renderer/src/options/canvas-tabs.tsx@@ -10,7 +10,7 @@ export const canvasTabsOption = {cliFlag,description: () => <>Enable or disable the tabs above the Studio canvas.</>,ssrName: null,- docLink: 'https://www.remotion.dev/docs/config#setcanvastabsenabled',+ docLink: 'https://www.remotion.dev/docs/options/disable-canvas-tabs',type: false as boolean,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {diff --git a/packages/renderer/src/options/chrome-mode.tsx b/packages/renderer/src/options/chrome-mode.tsxindex 64af489955..39f7f893ba 100644--- a/packages/renderer/src/options/chrome-mode.tsx+++ b/packages/renderer/src/options/chrome-mode.tsx@@ -33,7 +33,7 @@ export const chromeModeOption = {</>);},- docLink: 'https://www.remotion.dev/docs/miscellaneous/chrome-headless-shell',+ docLink: 'https://www.remotion.dev/docs/options/chrome-mode',getValue: ({commandLine}) => {if (commandLine[cliFlag]) {if (diff --git a/packages/renderer/src/options/color-space.tsx b/packages/renderer/src/options/color-space.tsxindex cfcb1f0305..0fbbfd3d01 100644--- a/packages/renderer/src/options/color-space.tsx+++ b/packages/renderer/src/options/color-space.tsx@@ -75,7 +75,7 @@ export const colorSpaceOption = {previously it would only tag the metadata of the video.</>),- docLink: 'https://www.remotion.dev/docs/renderer/render-media#colorspace',+ docLink: 'https://www.remotion.dev/docs/options/color-space',ssrName: 'colorSpace',type: DEFAULT_COLOR_SPACE as ColorSpace | null,getValue: ({commandLine}) => {diff --git a/packages/renderer/src/options/concurrency.tsx b/packages/renderer/src/options/concurrency.tsxindex 1a3907df03..bb0d8233b6 100644--- a/packages/renderer/src/options/concurrency.tsx+++ b/packages/renderer/src/options/concurrency.tsx@@ -41,7 +41,7 @@ export const concurrencyOption = {</>),ssrName: 'concurrency' as const,- docLink: 'https://www.remotion.dev/docs/config#setconcurrency',+ docLink: 'https://www.remotion.dev/docs/options/concurrency',type: null as Concurrency,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/config.tsx b/packages/renderer/src/options/config.tsxindex 178041a958..aa6fa31ae8 100644--- a/packages/renderer/src/options/config.tsx+++ b/packages/renderer/src/options/config.tsx@@ -7,7 +7,7 @@ export const configOption = {cliFlag,description: () => <>Specify a location for the Remotion config file.</>,ssrName: null,- docLink: 'https://www.remotion.dev/docs/config',+ docLink: 'https://www.remotion.dev/docs/options/config',getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {return {diff --git a/packages/renderer/src/options/crf.tsx b/packages/renderer/src/options/crf.tsxindex 11fee5632d..433fa641dc 100644--- a/packages/renderer/src/options/crf.tsx+++ b/packages/renderer/src/options/crf.tsx@@ -24,8 +24,7 @@ export const crfOption = {</>),ssrName: 'crf',- docLink:- 'https://www.remotion.dev/docs/encoding/#controlling-quality-using-the-crf-setting',+ docLink: 'https://www.remotion.dev/docs/options/crf',type: 0 as number,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/cross-site-isolation.tsx b/packages/renderer/src/options/cross-site-isolation.tsxindex 9a9269b50e..2ccb05dfc6 100644--- a/packages/renderer/src/options/cross-site-isolation.tsx+++ b/packages/renderer/src/options/cross-site-isolation.tsx@@ -16,7 +16,7 @@ export const enableCrossSiteIsolationOption = {</>),ssrName: null,- docLink: 'https://www.remotion.dev/docs/config#setenablecrosssiteisolation',+ docLink: 'https://www.remotion.dev/docs/options/cross-site-isolation',type: false as boolean,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/dark-mode.tsx b/packages/renderer/src/options/dark-mode.tsxindex b42a364f99..a53b01d01b 100644--- a/packages/renderer/src/options/dark-mode.tsx+++ b/packages/renderer/src/options/dark-mode.tsx@@ -17,7 +17,7 @@ export const darkModeOption = {</>),ssrName: 'darkMode',- docLink: 'https://www.remotion.dev/docs/chromium-flags#--dark-mode',+ docLink: 'https://www.remotion.dev/docs/options/dark-mode',type: false as boolean,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {diff --git a/packages/renderer/src/options/default-coding-agent.tsx b/packages/renderer/src/options/default-coding-agent.tsxindex 9733cfa5b7..57000f0bf9 100644--- a/packages/renderer/src/options/default-coding-agent.tsx+++ b/packages/renderer/src/options/default-coding-agent.tsx@@ -42,7 +42,7 @@ export const defaultCodingAgentOption = {</>),ssrName: null,- docLink: 'https://www.remotion.dev/docs/config#setdefaultcodingagent',+ docLink: 'https://www.remotion.dev/docs/options/coding-agent',type: null as DefaultCodingAgent | null,getValue: ({commandLine}) => {const cliValue = commandLine[cliFlag];diff --git a/packages/renderer/src/options/default-editor.tsx b/packages/renderer/src/options/default-editor.tsxindex 4024f6163d..9889f7f8b2 100644--- a/packages/renderer/src/options/default-editor.tsx+++ b/packages/renderer/src/options/default-editor.tsx@@ -114,7 +114,7 @@ export const defaultEditorOption = {</>),ssrName: null,- docLink: 'https://www.remotion.dev/docs/studio/open-in-editor',+ docLink: 'https://www.remotion.dev/docs/options/editor',type: null as DefaultEditor | null,getValue: ({commandLine}) => {const cliValue = commandLine[cliFlag];diff --git a/packages/renderer/src/options/delete-after.tsx b/packages/renderer/src/options/delete-after.tsxindex 040f440fc2..451d80c02e 100644--- a/packages/renderer/src/options/delete-after.tsx+++ b/packages/renderer/src/options/delete-after.tsx@@ -20,7 +20,7 @@ export const deleteAfterOption = {);},ssrName: 'deleteAfter' as const,- docLink: 'https://www.remotion.dev/docs/lambda/autodelete',+ docLink: 'https://www.remotion.dev/docs/options/delete-after',type: '1-day' as DeleteAfter | null,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/disable-git-source.tsx b/packages/renderer/src/options/disable-git-source.tsxindex 67eaa3ded0..9f0963092a 100644--- a/packages/renderer/src/options/disable-git-source.tsx+++ b/packages/renderer/src/options/disable-git-source.tsx@@ -8,7 +8,7 @@ export const disableGitSourceOption = {cliFlag,description: () =>`Disables the Git Source being connected to the Remotion Studio. Clicking on stack traces and certain menu items will be disabled.`,- docLink: 'https://remotion.dev/docs/bundle',+ docLink: 'https://www.remotion.dev/docs/options/disable-git-source',getValue: ({commandLine}) => {if (commandLine[cliFlag]) {return {diff --git a/packages/renderer/src/options/disable-web-security.tsx b/packages/renderer/src/options/disable-web-security.tsxindex 649f8df479..11de0b91fa 100644--- a/packages/renderer/src/options/disable-web-security.tsx+++ b/packages/renderer/src/options/disable-web-security.tsx@@ -14,8 +14,7 @@ export const disableWebSecurityOption = {</>),ssrName: 'disableWebSecurity' as const,- docLink:- 'https://www.remotion.dev/docs/chromium-flags#--disable-web-security',+ docLink: 'https://www.remotion.dev/docs/options/disable-web-security',type: false as boolean,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {diff --git a/packages/renderer/src/options/disallow-parallel-encoding.tsx b/packages/renderer/src/options/disallow-parallel-encoding.tsxindex b8920834cd..d18ae1c71e 100644--- a/packages/renderer/src/options/disallow-parallel-encoding.tsx+++ b/packages/renderer/src/options/disallow-parallel-encoding.tsx@@ -15,7 +15,7 @@ export const disallowParallelEncodingOption = {</>),ssrName: 'disallowParallelEncoding',- docLink: 'https://www.remotion.dev/docs/config#setdisallowparallelencoding',+ docLink: 'https://www.remotion.dev/docs/options/disallow-parallel-encoding',type: false as boolean,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {diff --git a/packages/renderer/src/options/enable-cancellation.tsx b/packages/renderer/src/options/enable-cancellation.tsxindex b06ec2bd72..0595b388e3 100644--- a/packages/renderer/src/options/enable-cancellation.tsx+++ b/packages/renderer/src/options/enable-cancellation.tsx@@ -15,8 +15,7 @@ export const enableCancellationOption = {</>),ssrName: null,- docLink:- 'https://www.remotion.dev/docs/lambda/cli/render#--enable-cancellation',+ docLink: 'https://www.remotion.dev/docs/options/enable-cancellation',type: false as boolean,setConfig: (value: boolean) => {enableCancellation = value;diff --git a/packages/renderer/src/options/enable-lambda-insights.tsx b/packages/renderer/src/options/enable-lambda-insights.tsxindex d5e693551f..649356059e 100644--- a/packages/renderer/src/options/enable-lambda-insights.tsx+++ b/packages/renderer/src/options/enable-lambda-insights.tsx@@ -17,7 +17,7 @@ export const enableLambdaInsights = {</>),ssrName: 'enableLambdaInsights',- docLink: 'https://www.remotion.dev/docs/lambda/insights',+ docLink: 'https://www.remotion.dev/docs/options/enable-lambda-insights',type: false as boolean,setConfig: (value: boolean) => {option = value;diff --git a/packages/renderer/src/options/enable-multiprocess-on-linux.tsx b/packages/renderer/src/options/enable-multiprocess-on-linux.tsxindex ec84adc26b..baadf47e6f 100644--- a/packages/renderer/src/options/enable-multiprocess-on-linux.tsx+++ b/packages/renderer/src/options/enable-multiprocess-on-linux.tsx@@ -23,7 +23,7 @@ export const enableMultiprocessOnLinuxOption = {</>),ssrName: 'chromiumOptions.enableMultiprocessOnLinux',- docLink: 'https://www.remotion.dev/docs/chromium-flags',+ docLink: 'https://www.remotion.dev/docs/options/enable-multiprocess-on-linux',type: false as boolean,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/encoding-buffer-size.tsx b/packages/renderer/src/options/encoding-buffer-size.tsxindex 3d0b25daaa..b7924269bf 100644--- a/packages/renderer/src/options/encoding-buffer-size.tsx+++ b/packages/renderer/src/options/encoding-buffer-size.tsx@@ -22,7 +22,7 @@ export const encodingBufferSizeOption = {</>),ssrName: 'encodingBufferSize' as const,- docLink: 'https://www.remotion.dev/docs/renderer/render-media#buffersize',+ docLink: 'https://www.remotion.dev/docs/options/buffer-size',type: '' as string | null,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/encoding-max-rate.tsx b/packages/renderer/src/options/encoding-max-rate.tsxindex f57661dcdf..0a99b48999 100644--- a/packages/renderer/src/options/encoding-max-rate.tsx+++ b/packages/renderer/src/options/encoding-max-rate.tsx@@ -15,7 +15,7 @@ export const encodingMaxRateOption = {</>),ssrName: 'encodingMaxRate' as const,- docLink: 'https://www.remotion.dev/docs/renderer/render-media#maxrate',+ docLink: 'https://www.remotion.dev/docs/options/max-rate',type: '' as string | null,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/enforce-audio.tsx b/packages/renderer/src/options/enforce-audio.tsxindex 0865a61d34..a53ba42f8e 100644--- a/packages/renderer/src/options/enforce-audio.tsx+++ b/packages/renderer/src/options/enforce-audio.tsx@@ -41,7 +41,7 @@ export const enforceAudioOption = {</>),ssrName: 'enforceAudioTrack',- docLink: 'https://www.remotion.dev/docs/config#setenforceaudiotrack',+ docLink: 'https://www.remotion.dev/docs/options/enforce-audio-track',type: false as boolean,getValue: ({commandLine}) => {if (commandLine[cliFlag]) {diff --git a/packages/renderer/src/options/env-file.tsx b/packages/renderer/src/options/env-file.tsxindex 17c171af86..f96e36bb15 100644--- a/packages/renderer/src/options/env-file.tsx+++ b/packages/renderer/src/options/env-file.tsx@@ -13,7 +13,7 @@ export const envFileOption = {</>),ssrName: null,- docLink: 'https://www.remotion.dev/docs/cli/render#--env-file',+ docLink: 'https://www.remotion.dev/docs/options/env-file',getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {return {diff --git a/packages/renderer/src/options/every-nth-frame.tsx b/packages/renderer/src/options/every-nth-frame.tsxindex 9670e43363..c76a813f55 100644--- a/packages/renderer/src/options/every-nth-frame.tsx+++ b/packages/renderer/src/options/every-nth-frame.tsx@@ -18,7 +18,7 @@ export const everyNthFrameOption = {</>),ssrName: 'everyNthFrame' as const,- docLink: 'https://www.remotion.dev/docs/config#seteverynthframe',+ docLink: 'https://www.remotion.dev/docs/options/every-nth-frame',type: DEFAULT_EVERY_NTH_FRAME as number,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/experimental-keep-audio-context-alive.tsx b/packages/renderer/src/options/experimental-keep-audio-context-alive.tsxindex c85474affe..8a9b68c01c 100644--- a/packages/renderer/src/options/experimental-keep-audio-context-alive.tsx+++ b/packages/renderer/src/options/experimental-keep-audio-context-alive.tsx@@ -15,7 +15,7 @@ export const experimentalKeepAudioContextAliveOption = {),ssrName: null,docLink:- 'https://www.remotion.dev/docs/config#setexperimentalkeepaudiocontextalive',+ 'https://www.remotion.dev/docs/options/experimental-keep-audio-context-alive',type: false as boolean,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {diff --git a/packages/renderer/src/options/folder-expiry.tsx b/packages/renderer/src/options/folder-expiry.tsxindex d723720bc2..fb4d3fbc01 100644--- a/packages/renderer/src/options/folder-expiry.tsx+++ b/packages/renderer/src/options/folder-expiry.tsx@@ -18,7 +18,7 @@ export const folderExpiryOption = {);},ssrName: 'enableFolderExpiry' as const,- docLink: 'https://www.remotion.dev/docs/lambda/autodelete',+ docLink: 'https://www.remotion.dev/docs/options/enable-folder-expiry',type: false as boolean | null,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/for-seamless-aac-concatenation.tsx b/packages/renderer/src/options/for-seamless-aac-concatenation.tsxindex fa42f7c038..59bfd7c49a 100644--- a/packages/renderer/src/options/for-seamless-aac-concatenation.tsx+++ b/packages/renderer/src/options/for-seamless-aac-concatenation.tsx@@ -23,7 +23,8 @@ export const forSeamlessAacConcatenationOption = {yet for to concatenate the audio chunks.</>),- docLink: 'https://remotion.dev/docs/renderer',+ docLink:+ 'https://www.remotion.dev/docs/options/for-seamless-aac-concatenation',getValue: ({commandLine}) => {if (commandLine[cliFlag]) {return {diff --git a/packages/renderer/src/options/force-new-studio.tsx b/packages/renderer/src/options/force-new-studio.tsxindex 0c70efff92..1aef266c97 100644--- a/packages/renderer/src/options/force-new-studio.tsx+++ b/packages/renderer/src/options/force-new-studio.tsx@@ -14,7 +14,7 @@ export const forceNewStudioOption = {</>),ssrName: null,- docLink: 'https://www.remotion.dev/docs/config#setforcenewstudioenabled',+ docLink: 'https://www.remotion.dev/docs/options/force-new',type: false as boolean,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {diff --git a/packages/renderer/src/options/frames.tsx b/packages/renderer/src/options/frames.tsxindex edc728645c..1f9673a4ae 100644--- a/packages/renderer/src/options/frames.tsx+++ b/packages/renderer/src/options/frames.tsx@@ -134,7 +134,7 @@ export const framesOption = {</>),ssrName: 'frameRange' as const,- docLink: 'https://www.remotion.dev/docs/config#setframerange',+ docLink: 'https://www.remotion.dev/docs/options/frames',type: null as FrameSelection,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/gl.tsx b/packages/renderer/src/options/gl.tsxindex 8ba353ead4..bff4cef59e 100644--- a/packages/renderer/src/options/gl.tsx+++ b/packages/renderer/src/options/gl.tsx@@ -62,7 +62,7 @@ const cliFlag = 'gl' as const;export const glOption = {cliFlag,- docLink: 'https://www.remotion.dev/docs/chromium-flags#--gl',+ docLink: 'https://www.remotion.dev/docs/options/gl',name: 'OpenGL renderer',type: 'angle' as OpenGlRenderer | null,ssrName: 'gl',diff --git a/packages/renderer/src/options/gop-size.tsx b/packages/renderer/src/options/gop-size.tsxindex e347c334a0..fffb8dd8a3 100644--- a/packages/renderer/src/options/gop-size.tsx+++ b/packages/renderer/src/options/gop-size.tsx@@ -31,7 +31,7 @@ export const gopSizeOption = {</>),ssrName: 'gopSize',- docLink: 'https://www.remotion.dev/docs/config#setgopsize',+ docLink: 'https://www.remotion.dev/docs/options/gop',type: null as number | null,getValue: ({commandLine}) => {const value = commandLine[cliFlag];diff --git a/packages/renderer/src/options/hardware-acceleration.tsx b/packages/renderer/src/options/hardware-acceleration.tsxindex d92aa9fd65..39a0bf9379 100644--- a/packages/renderer/src/options/hardware-acceleration.tsx+++ b/packages/renderer/src/options/hardware-acceleration.tsx@@ -31,7 +31,7 @@ export const hardwareAccelerationOption = {available, then the render will fail.`,ssrName: 'hardwareAcceleration',- docLink: 'https://www.remotion.dev/docs/encoding',+ docLink: 'https://www.remotion.dev/docs/options/hardware-acceleration',type: 'disable' as HardwareAccelerationOption,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/headless.tsx b/packages/renderer/src/options/headless.tsxindex 16df7a40ea..f39e592a3c 100644--- a/packages/renderer/src/options/headless.tsx+++ b/packages/renderer/src/options/headless.tsx@@ -18,7 +18,7 @@ export const headlessOption = {</>),ssrName: 'headless',- docLink: 'https://www.remotion.dev/docs/chromium-flags#--disable-headless',+ docLink: 'https://www.remotion.dev/docs/options/disable-headless',type: false as boolean,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {diff --git a/packages/renderer/src/options/ignore-certificate-errors.tsx b/packages/renderer/src/options/ignore-certificate-errors.tsxindex 43ac2fbaf1..550ae051a5 100644--- a/packages/renderer/src/options/ignore-certificate-errors.tsx+++ b/packages/renderer/src/options/ignore-certificate-errors.tsx@@ -14,8 +14,7 @@ export const ignoreCertificateErrorsOption = {</>),ssrName: 'ignoreCertificateErrors' as const,- docLink:- 'https://www.remotion.dev/docs/chromium-flags#--ignore-certificate-errors',+ docLink: 'https://www.remotion.dev/docs/options/ignore-certificate-errors',type: false as boolean,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {diff --git a/packages/renderer/src/options/image-sequence-pattern.tsx b/packages/renderer/src/options/image-sequence-pattern.tsxindex a3b919d8e9..e26464c80c 100644--- a/packages/renderer/src/options/image-sequence-pattern.tsx+++ b/packages/renderer/src/options/image-sequence-pattern.tsx@@ -16,7 +16,7 @@ export const imageSequencePatternOption = {extension.</>),- docLink: null,+ docLink: 'https://www.remotion.dev/docs/options/image-sequence-pattern',type: 'string' as string | null,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/image-sequence.tsx b/packages/renderer/src/options/image-sequence.tsxindex b5f5cb8dc8..8b065c016b 100644--- a/packages/renderer/src/options/image-sequence.tsx+++ b/packages/renderer/src/options/image-sequence.tsx@@ -18,7 +18,7 @@ export const imageSequenceOption = {</>),ssrName: null,- docLink: 'https://www.remotion.dev/docs/config#setimagesequence',+ docLink: 'https://www.remotion.dev/docs/options/sequence',getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {return {diff --git a/packages/renderer/src/options/interactivity.tsx b/packages/renderer/src/options/interactivity.tsxindex a9e647926f..ab37a33704 100644--- a/packages/renderer/src/options/interactivity.tsx+++ b/packages/renderer/src/options/interactivity.tsx@@ -17,7 +17,7 @@ export const interactivityOption = {</>),ssrName: null,- docLink: 'https://www.remotion.dev/docs/config#setinteractivityenabled',+ docLink: 'https://www.remotion.dev/docs/options/disable-interactivity',type: false as boolean,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {diff --git a/packages/renderer/src/options/ipv4.tsx b/packages/renderer/src/options/ipv4.tsxindex cdc954b526..e47d64a9cd 100644--- a/packages/renderer/src/options/ipv4.tsx+++ b/packages/renderer/src/options/ipv4.tsx@@ -11,7 +11,7 @@ export const ipv4Option = {<>Forces Remotion to bind to an IPv4 interface for the Studio server.</>),ssrName: null,- docLink: 'https://www.remotion.dev/docs/cli/studio',+ docLink: 'https://www.remotion.dev/docs/options/ipv4',type: false as boolean,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {diff --git a/packages/renderer/src/options/is-production.tsx b/packages/renderer/src/options/is-production.tsxindex e9a1208fc8..87e7b6a171 100644--- a/packages/renderer/src/options/is-production.tsx+++ b/packages/renderer/src/options/is-production.tsx@@ -15,7 +15,7 @@ export const isProductionOption = {</>),ssrName: 'isProduction' as const,- docLink: 'https://www.remotion.dev/docs/licensing',+ docLink: 'https://www.remotion.dev/docs/options/is-production',getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {return {diff --git a/packages/renderer/src/options/jpeg-quality.tsx b/packages/renderer/src/options/jpeg-quality.tsxindex d4e68e9f89..f86ee931b7 100644--- a/packages/renderer/src/options/jpeg-quality.tsx+++ b/packages/renderer/src/options/jpeg-quality.tsx@@ -29,7 +29,7 @@ export const jpegQualityOption = {</>),ssrName: 'jpegQuality',- docLink: 'https://www.remotion.dev/docs/renderer/render-media#jpegquality',+ docLink: 'https://www.remotion.dev/docs/options/jpeg-quality',type: 0 as number,setConfig: setJpegQuality,getValue: ({commandLine}) => {diff --git a/packages/renderer/src/options/keyboard-shortcuts.tsx b/packages/renderer/src/options/keyboard-shortcuts.tsxindex e1934991bd..ce76abe8e0 100644--- a/packages/renderer/src/options/keyboard-shortcuts.tsx+++ b/packages/renderer/src/options/keyboard-shortcuts.tsx@@ -12,7 +12,7 @@ export const keyboardShortcutsOption = {<>Enable or disable keyboard shortcuts in the Remotion Studio.</>),ssrName: null,- docLink: 'https://www.remotion.dev/docs/config#setkeyboardshortcutsenabled',+ docLink: 'https://www.remotion.dev/docs/options/disable-keyboard-shortcuts',type: false as boolean,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {diff --git a/packages/renderer/src/options/latency-hint.tsx b/packages/renderer/src/options/latency-hint.tsxindex 9b4f0f4963..2659699cb8 100644--- a/packages/renderer/src/options/latency-hint.tsx+++ b/packages/renderer/src/options/latency-hint.tsx@@ -21,7 +21,7 @@ export const audioLatencyHintOption = {</>),ssrName: 'audioLatencyHint' as const,- docLink: 'https://www.remotion.dev/docs/renderer/render-media',+ docLink: 'https://www.remotion.dev/docs/options/audio-latency-hint',type: 'playback' as AudioContextLatencyCategory,getValue: ({commandLine}) => {const val = commandLine[cliFlag];diff --git a/packages/renderer/src/options/license-key.tsx b/packages/renderer/src/options/license-key.tsxindex 27cc4c4a58..ef8a56c8ff 100644--- a/packages/renderer/src/options/license-key.tsx+++ b/packages/renderer/src/options/license-key.tsx@@ -14,7 +14,7 @@ export const licenseKeyOption = {</>),ssrName: 'licenseKey' as const,- docLink: 'https://www.remotion.dev/docs/licensing',+ docLink: 'https://www.remotion.dev/docs/options/license-key',type: null as string | null,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/log-level.tsx b/packages/renderer/src/options/log-level.tsxindex 10d2aba8ea..de20d3af0a 100644--- a/packages/renderer/src/options/log-level.tsx+++ b/packages/renderer/src/options/log-level.tsx@@ -20,7 +20,7 @@ export const logLevelOption = {<br /> Default <code>info</code>.</>),- docLink: 'https://www.remotion.dev/docs/troubleshooting/debug-failed-render',+ docLink: 'https://www.remotion.dev/docs/options/log',getValue: ({commandLine}) => {if (commandLine[cliFlag]) {if (!isValidLogLevel(commandLine[cliFlag] as string)) {diff --git a/packages/renderer/src/options/metadata.tsx b/packages/renderer/src/options/metadata.tsxindex 36460b946c..dfbebd9643 100644--- a/packages/renderer/src/options/metadata.tsx+++ b/packages/renderer/src/options/metadata.tsx@@ -31,7 +31,7 @@ export const metadataOption = {</>);},- docLink: 'https://www.remotion.dev/docs/metadata',+ docLink: 'https://www.remotion.dev/docs/options/metadata',type: {} as Metadata,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/mute.tsx b/packages/renderer/src/options/mute.tsxindex 6665836e60..7dbe9f5b91 100644--- a/packages/renderer/src/options/mute.tsx+++ b/packages/renderer/src/options/mute.tsx@@ -11,7 +11,7 @@ export const mutedOption = {cliFlag,description: () => <>The Audio of the video will be omitted.</>,ssrName: 'muted',- docLink: 'https://www.remotion.dev/docs/audio/muting',+ docLink: 'https://www.remotion.dev/docs/options/muted',type: false as boolean,getValue: ({commandLine}) => {// we set in minimist `muted` default as nulldiff --git a/packages/renderer/src/options/no-open.tsx b/packages/renderer/src/options/no-open.tsxindex ef76320c74..8944455c0c 100644--- a/packages/renderer/src/options/no-open.tsx+++ b/packages/renderer/src/options/no-open.tsx@@ -14,7 +14,7 @@ export const noOpenOption = {</>),ssrName: null,- docLink: 'https://www.remotion.dev/docs/cli/studio#--no-open',+ docLink: 'https://www.remotion.dev/docs/options/no-open',type: false as boolean,getValue: ({commandLine}) => {// Minimist quirk: `--no-open` sets `open` to `false`.diff --git a/packages/renderer/src/options/number-of-gif-loops.tsx b/packages/renderer/src/options/number-of-gif-loops.tsxindex 4979014fd6..735f5a7bfe 100644--- a/packages/renderer/src/options/number-of-gif-loops.tsx+++ b/packages/renderer/src/options/number-of-gif-loops.tsx@@ -39,8 +39,7 @@ export const numberOfGifLoopsOption = {);},ssrName: 'numberOfGifLoops' as const,- docLink:- 'https://www.remotion.dev/docs/render-as-gif#changing-the-number-of-loops',+ docLink: 'https://www.remotion.dev/docs/options/number-of-gif-loops',type: 0 as number | null,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/number-of-shared-audio-tags.tsx b/packages/renderer/src/options/number-of-shared-audio-tags.tsxindex 5ad8f1a212..502ed05451 100644--- a/packages/renderer/src/options/number-of-shared-audio-tags.tsx+++ b/packages/renderer/src/options/number-of-shared-audio-tags.tsx@@ -18,7 +18,7 @@ export const numberOfSharedAudioTagsOption = {</>),ssrName: null,- docLink: 'https://www.remotion.dev/docs/config#setnumberofsharedaudiotags',+ docLink: 'https://www.remotion.dev/docs/options/number-of-shared-audio-tags',type: 0 as number,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/offthreadvideo-cache-size.tsx b/packages/renderer/src/options/offthreadvideo-cache-size.tsxindex cd7e6c19e9..eff76bece4 100644--- a/packages/renderer/src/options/offthreadvideo-cache-size.tsx+++ b/packages/renderer/src/options/offthreadvideo-cache-size.tsx@@ -28,7 +28,8 @@ export const offthreadVideoCacheSizeInBytesOption = {</>),ssrName: 'offthreadVideoCacheSizeInBytes' as const,- docLink: 'https://www.remotion.dev/docs/offthreadvideo',+ docLink:+ 'https://www.remotion.dev/docs/options/offthreadvideo-cache-size-in-bytes',type: 0 as number | null,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/offthreadvideo-threads.tsx b/packages/renderer/src/options/offthreadvideo-threads.tsxindex a7d8a0bfc9..30df14b7b4 100644--- a/packages/renderer/src/options/offthreadvideo-threads.tsx+++ b/packages/renderer/src/options/offthreadvideo-threads.tsx@@ -23,7 +23,7 @@ export const offthreadVideoThreadsOption = {</>),ssrName: 'offthreadVideoThreads' as const,- docLink: 'https://www.remotion.dev/docs/offthreadvideo',+ docLink: 'https://www.remotion.dev/docs/options/offthreadvideo-video-threads',type: 0 as number | null,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/on-browser-download.tsx b/packages/renderer/src/options/on-browser-download.tsxindex 439e532c10..98ea42222c 100644--- a/packages/renderer/src/options/on-browser-download.tsx+++ b/packages/renderer/src/options/on-browser-download.tsx@@ -29,7 +29,7 @@ export const onBrowserDownloadOption = {</>),ssrName: 'onBrowserDownload' as const,- docLink: 'https://www.remotion.dev/docs/renderer/ensure-browser',+ docLink: 'https://www.remotion.dev/docs/options/on-browser-download',type: undefined as unknown as OnBrowserDownload,getValue: () => {throw new Error('does not support config file');diff --git a/packages/renderer/src/options/out-dir.tsx b/packages/renderer/src/options/out-dir.tsxindex b7bbd65c48..2c759a5719 100644--- a/packages/renderer/src/options/out-dir.tsx+++ b/packages/renderer/src/options/out-dir.tsx@@ -17,7 +17,7 @@ export const outDirOption = {);},ssrName: 'outDir' as const,- docLink: 'https://www.remotion.dev/docs/cli/bundle#--out-dir',+ docLink: 'https://www.remotion.dev/docs/options/out-dir',getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {return {diff --git a/packages/renderer/src/options/override-duration.tsx b/packages/renderer/src/options/override-duration.tsxindex 84ba4aaf06..a2ed60b7bf 100644--- a/packages/renderer/src/options/override-duration.tsx+++ b/packages/renderer/src/options/override-duration.tsx@@ -10,7 +10,7 @@ export const overrideDurationOption = {cliFlag,description: () => <>Overrides the duration in frames of the composition.</>,ssrName: null,- docLink: 'https://www.remotion.dev/docs/config#overrideduration',+ docLink: 'https://www.remotion.dev/docs/options/duration',type: null as number | null,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/override-fps.tsx b/packages/renderer/src/options/override-fps.tsxindex 8a531f86b4..1ba719b1a3 100644--- a/packages/renderer/src/options/override-fps.tsx+++ b/packages/renderer/src/options/override-fps.tsx@@ -10,7 +10,7 @@ export const overrideFpsOption = {cliFlag,description: () => <>Overrides the frames per second of the composition.</>,ssrName: null,- docLink: 'https://www.remotion.dev/docs/config#overridefps',+ docLink: 'https://www.remotion.dev/docs/options/fps',type: null as number | null,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/override-height.tsx b/packages/renderer/src/options/override-height.tsxindex 4f276918a0..e3577c73ac 100644--- a/packages/renderer/src/options/override-height.tsx+++ b/packages/renderer/src/options/override-height.tsx@@ -10,7 +10,7 @@ export const overrideHeightOption = {cliFlag,description: () => <>Overrides the height of the composition.</>,ssrName: null,- docLink: 'https://www.remotion.dev/docs/config#overrideheight',+ docLink: 'https://www.remotion.dev/docs/options/height',type: null as number | null,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/override-width.tsx b/packages/renderer/src/options/override-width.tsxindex 6db5dbdcf9..da9be2171a 100644--- a/packages/renderer/src/options/override-width.tsx+++ b/packages/renderer/src/options/override-width.tsx@@ -10,7 +10,7 @@ export const overrideWidthOption = {cliFlag,description: () => <>Overrides the width of the composition.</>,ssrName: null,- docLink: 'https://www.remotion.dev/docs/config#overridewidth',+ docLink: 'https://www.remotion.dev/docs/options/width',type: null as number | null,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/overwrite.tsx b/packages/renderer/src/options/overwrite.tsxindex 450b270400..c194c77c80 100644--- a/packages/renderer/src/options/overwrite.tsx+++ b/packages/renderer/src/options/overwrite.tsx@@ -21,7 +21,7 @@ export const overwriteOption = {</>),ssrName: 'overwrite',- docLink: 'https://www.remotion.dev/docs/config#setoverwriteoutput',+ docLink: 'https://www.remotion.dev/docs/options/overwrite',type: false as boolean,getValue: ({commandLine}, defaultValue: boolean) => {if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {diff --git a/packages/renderer/src/options/package-manager.tsx b/packages/renderer/src/options/package-manager.tsxindex 3eda8c40c0..926b7f2354 100644--- a/packages/renderer/src/options/package-manager.tsx+++ b/packages/renderer/src/options/package-manager.tsx@@ -19,7 +19,7 @@ export const packageManagerOption = {);},ssrName: 'packageManager' as const,- docLink: 'https://www.remotion.dev/docs/cli/upgrade#--package-manager',+ docLink: 'https://www.remotion.dev/docs/options/package-manager',getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {return {diff --git a/packages/renderer/src/options/pixel-format.tsx b/packages/renderer/src/options/pixel-format.tsxindex 56b0eac4f1..3c8b4e2ff0 100644--- a/packages/renderer/src/options/pixel-format.tsx+++ b/packages/renderer/src/options/pixel-format.tsx@@ -19,7 +19,7 @@ export const pixelFormatOption = {</>),ssrName: 'pixelFormat' as const,- docLink: 'https://www.remotion.dev/docs/config#setpixelformat',+ docLink: 'https://www.remotion.dev/docs/options/pixel-format',type: DEFAULT_PIXEL_FORMAT as PixelFormat,getValue: ({commandLine},diff --git a/packages/renderer/src/options/port.tsx b/packages/renderer/src/options/port.tsxindex 7a5fefa651..75aac5ff4e 100644--- a/packages/renderer/src/options/port.tsx+++ b/packages/renderer/src/options/port.tsx@@ -14,7 +14,7 @@ export const portOption = {</>),ssrName: null,- docLink: 'https://www.remotion.dev/docs/config#setstudioport',+ docLink: 'https://www.remotion.dev/docs/options/port',getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {return {diff --git a/packages/renderer/src/options/prefer-lossless.tsx b/packages/renderer/src/options/prefer-lossless.tsxindex a0ca8ab21f..418814cc77 100644--- a/packages/renderer/src/options/prefer-lossless.tsx+++ b/packages/renderer/src/options/prefer-lossless.tsx@@ -14,7 +14,7 @@ export const preferLosslessAudioOption = {<code>preferLossless</code>.</>),- docLink: 'https://www.remotion.dev/docs/encoding',+ docLink: 'https://www.remotion.dev/docs/options/prefer-lossless',type: false as boolean,ssrName: 'preferLossless' as const,getValue: ({commandLine}) => {diff --git a/packages/renderer/src/options/preview-sample-rate.tsx b/packages/renderer/src/options/preview-sample-rate.tsxindex d867003eee..b8d2995b5f 100644--- a/packages/renderer/src/options/preview-sample-rate.tsx+++ b/packages/renderer/src/options/preview-sample-rate.tsx@@ -14,7 +14,7 @@ export const previewSampleRateOption = {</>),ssrName: null,- docLink: 'https://www.remotion.dev/docs/config#setpreviewsamplerate',+ docLink: 'https://www.remotion.dev/docs/options/preview-sample-rate',type: null as number | null,getValue: ({commandLine}: {commandLine: Record<string, unknown>}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/props.tsx b/packages/renderer/src/options/props.tsxindex 11826d8843..dd70c0719f 100644--- a/packages/renderer/src/options/props.tsx+++ b/packages/renderer/src/options/props.tsx@@ -16,8 +16,7 @@ export const propsOption = {</>),ssrName: null,- docLink:- 'https://www.remotion.dev/docs/passing-props#passing-input-props-in-the-cli',+ docLink: 'https://www.remotion.dev/docs/options/props',getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {return {diff --git a/packages/renderer/src/options/prores-profile.tsx b/packages/renderer/src/options/prores-profile.tsxindex d259c34751..46ece063d1 100644--- a/packages/renderer/src/options/prores-profile.tsx+++ b/packages/renderer/src/options/prores-profile.tsx@@ -35,7 +35,7 @@ export const proResProfileOption = {</>),ssrName: 'proResProfile' as const,- docLink: 'https://www.remotion.dev/docs/config#setproresprofile',+ docLink: 'https://www.remotion.dev/docs/options/prores-profile',type: undefined as ProResProfile | undefined,getValue: ({commandLine},diff --git a/packages/renderer/src/options/public-dir.tsx b/packages/renderer/src/options/public-dir.tsxindex af82e6516e..60b38a518c 100644--- a/packages/renderer/src/options/public-dir.tsx+++ b/packages/renderer/src/options/public-dir.tsx@@ -20,7 +20,7 @@ export const publicDirOption = {);},ssrName: 'publicDir' as const,- docLink: 'https://www.remotion.dev/docs/terminology/public-dir',+ docLink: 'https://www.remotion.dev/docs/options/public-dir',getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {return {diff --git a/packages/renderer/src/options/public-license-key.tsx b/packages/renderer/src/options/public-license-key.tsxindex c85edbbb99..b3e83b4ac7 100644--- a/packages/renderer/src/options/public-license-key.tsx+++ b/packages/renderer/src/options/public-license-key.tsx@@ -15,7 +15,7 @@ export const publicLicenseKeyOption = {</>),ssrName: 'publicLicenseKey' as const,- docLink: 'https://www.remotion.dev/docs/licensing',+ docLink: 'https://www.remotion.dev/docs/options/public-license-key',getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {return {diff --git a/packages/renderer/src/options/public-path.tsx b/packages/renderer/src/options/public-path.tsxindex 3765e7c8f5..f1fa06e678 100644--- a/packages/renderer/src/options/public-path.tsx+++ b/packages/renderer/src/options/public-path.tsx@@ -18,7 +18,7 @@ export const publicPathOption = {);},ssrName: 'publicPath' as const,- docLink: 'https://www.remotion.dev/docs/renderer',+ docLink: 'https://www.remotion.dev/docs/options/public-path',getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {return {diff --git a/packages/renderer/src/options/repro.tsx b/packages/renderer/src/options/repro.tsxindex 51a333512f..233245bbce 100644--- a/packages/renderer/src/options/repro.tsx+++ b/packages/renderer/src/options/repro.tsx@@ -17,7 +17,7 @@ export const reproOption = {</>),ssrName: 'repro',- docLink: 'https://www.remotion.dev/docs/renderer/render-media#repro',+ docLink: 'https://www.remotion.dev/docs/options/repro',type: false as boolean,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {diff --git a/packages/renderer/src/options/rspack.tsx b/packages/renderer/src/options/rspack.tsxindex 7e3132b02d..6c7c26de09 100644--- a/packages/renderer/src/options/rspack.tsx+++ b/packages/renderer/src/options/rspack.tsx@@ -12,7 +12,7 @@ export const rspackOption = {<>Uses Rspack instead of Webpack as the bundler for the Studio or bundle.</>),ssrName: null,- docLink: null,+ docLink: 'https://www.remotion.dev/docs/options/rspack',type: false as boolean,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {diff --git a/packages/renderer/src/options/runs.tsx b/packages/renderer/src/options/runs.tsxindex 7118ba2ea3..25ef2e69cc 100644--- a/packages/renderer/src/options/runs.tsx+++ b/packages/renderer/src/options/runs.tsx@@ -16,7 +16,7 @@ export const runsOption = {</>),ssrName: null,- docLink: 'https://www.remotion.dev/docs/cli/benchmark#--runs',+ docLink: 'https://www.remotion.dev/docs/options/runs',type: DEFAULT_RUNS as number,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/sample-rate.tsx b/packages/renderer/src/options/sample-rate.tsxindex f73586654c..bedbb1c901 100644--- a/packages/renderer/src/options/sample-rate.tsx+++ b/packages/renderer/src/options/sample-rate.tsx@@ -15,7 +15,7 @@ export const sampleRateOption = {</>),ssrName: 'sampleRate' as const,- docLink: 'https://www.remotion.dev/docs/sample-rate',+ docLink: 'https://www.remotion.dev/docs/options/sample-rate',type: 48000 as number,getValue: ({commandLine}: {commandLine: Record<string, unknown>},diff --git a/packages/renderer/src/options/scale.tsx b/packages/renderer/src/options/scale.tsxindex b12cf987c0..92e19521d5 100644--- a/packages/renderer/src/options/scale.tsx+++ b/packages/renderer/src/options/scale.tsx@@ -24,7 +24,7 @@ export const scaleOption = {</>),ssrName: 'scale',- docLink: 'https://www.remotion.dev/docs/scaling',+ docLink: 'https://www.remotion.dev/docs/options/scale',type: 0 as number,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/separate-audio.tsx b/packages/renderer/src/options/separate-audio.tsxindex 7ef2e3d2ab..66679ec43f 100644--- a/packages/renderer/src/options/separate-audio.tsx+++ b/packages/renderer/src/options/separate-audio.tsx@@ -8,7 +8,7 @@ export const separateAudioOption = {cliFlag,description: () =>`If set, the audio will not be included in the main output but rendered as a separate file at the location you pass. If the render contains no audio, a silent audio file is produced even when enforceAudioTrack is false. The muted option still takes precedence. It is recommended to use an absolute path. If a relative path is passed, it is relative to the Remotion Root.`,- docLink: 'https://remotion.dev/docs/renderer/render-media',+ docLink: 'https://www.remotion.dev/docs/options/separate-audio-to',getValue: ({commandLine}) => {if (commandLine[cliFlag]) {return {diff --git a/packages/renderer/src/options/skip-skills.tsx b/packages/renderer/src/options/skip-skills.tsxindex cb2a572803..c529550a57 100644--- a/packages/renderer/src/options/skip-skills.tsx+++ b/packages/renderer/src/options/skip-skills.tsx@@ -9,7 +9,7 @@ export const skipSkillsOption = {<>Do not update installed Remotion Agent Skills while upgrading Remotion.</>),ssrName: null,- docLink: 'https://www.remotion.dev/docs/cli/upgrade#--skip-skills',+ docLink: 'https://www.remotion.dev/docs/options/skip-skills',getValue: ({commandLine}) => {if (commandLine[cliFlag]) {return {diff --git a/packages/renderer/src/options/still-frame.tsx b/packages/renderer/src/options/still-frame.tsxindex 172c315820..8d4ed6c463 100644--- a/packages/renderer/src/options/still-frame.tsx+++ b/packages/renderer/src/options/still-frame.tsx@@ -24,7 +24,7 @@ export const stillFrameOption = {</>),ssrName: 'frame' as const,- docLink: 'https://www.remotion.dev/docs/cli/still#--frame',+ docLink: 'https://www.remotion.dev/docs/options/frame',getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {const frame = Number(commandLine[cliFlag]);diff --git a/packages/renderer/src/options/still-image-format.tsx b/packages/renderer/src/options/still-image-format.tsxindex d837ceb5c3..6a2866d40a 100644--- a/packages/renderer/src/options/still-image-format.tsx+++ b/packages/renderer/src/options/still-image-format.tsx@@ -17,7 +17,7 @@ export const stillImageFormatOption = {</>),ssrName: 'imageFormat' as const,- docLink: 'https://www.remotion.dev/docs/renderer/render-still#imageformat',+ docLink: 'https://www.remotion.dev/docs/options/still-image-format',type: null as StillImageFormat | null,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/throw-if-site-exists.tsx b/packages/renderer/src/options/throw-if-site-exists.tsxindex e8a9f754cf..b2662b7fb1 100644--- a/packages/renderer/src/options/throw-if-site-exists.tsx+++ b/packages/renderer/src/options/throw-if-site-exists.tsx@@ -8,7 +8,7 @@ export const throwIfSiteExistsOption = {cliFlag,description: () =>`Prevents accidential update of an existing site. If there are any files in the subfolder where the site should be placed, the function will throw.`,- docLink: 'https://remotion.dev/docs/lambda/deploysite',+ docLink: 'https://www.remotion.dev/docs/options/throw-if-site-exists',getValue: ({commandLine}) => {if (commandLine[cliFlag]) {return {diff --git a/packages/renderer/src/options/timeout.tsx b/packages/renderer/src/options/timeout.tsxindex 963a7c37a7..b43ac6f3b9 100644--- a/packages/renderer/src/options/timeout.tsx+++ b/packages/renderer/src/options/timeout.tsx@@ -31,7 +31,7 @@ export const delayRenderTimeoutInMillisecondsOption = {</>),ssrName: 'timeoutInMilliseconds' as const,- docLink: 'https://www.remotion.dev/docs/timeout',+ docLink: 'https://www.remotion.dev/docs/options/timeout',type: 0 as number,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/user-agent.tsx b/packages/renderer/src/options/user-agent.tsxindex f0dd2542de..26d0140977 100644--- a/packages/renderer/src/options/user-agent.tsx+++ b/packages/renderer/src/options/user-agent.tsx@@ -13,7 +13,7 @@ export const userAgentOption = {</>),ssrName: 'userAgent' as const,- docLink: 'https://www.remotion.dev/docs/chromium-flags#--user-agent',+ docLink: 'https://www.remotion.dev/docs/options/user-agent',type: null as string | null,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/version-flag.tsx b/packages/renderer/src/options/version-flag.tsxindex 558023f52b..21e27d85cf 100644--- a/packages/renderer/src/options/version-flag.tsx+++ b/packages/renderer/src/options/version-flag.tsx@@ -11,7 +11,7 @@ export const versionFlagOption = {</>),ssrName: null,- docLink: 'https://www.remotion.dev/docs/cli/upgrade#--version',+ docLink: 'https://www.remotion.dev/docs/options/version',getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {return {diff --git a/packages/renderer/src/options/video-bitrate.tsx b/packages/renderer/src/options/video-bitrate.tsxindex f36e39fd50..2a786e769b 100644--- a/packages/renderer/src/options/video-bitrate.tsx+++ b/packages/renderer/src/options/video-bitrate.tsx@@ -17,7 +17,7 @@ export const videoBitrateOption = {</>),ssrName: 'videoBitrate',- docLink: 'https://www.remotion.dev/docs/renderer/render-media#videobitrate',+ docLink: 'https://www.remotion.dev/docs/options/video-bitrate',type: '' as string | null,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/video-cache-size.tsx b/packages/renderer/src/options/video-cache-size.tsxindex 67abec91bf..7285d4d2cf 100644--- a/packages/renderer/src/options/video-cache-size.tsx+++ b/packages/renderer/src/options/video-cache-size.tsx@@ -22,7 +22,7 @@ export const mediaCacheSizeInBytesOption = {</>),ssrName: 'mediaCacheSizeInBytes' as const,- docLink: 'https://www.remotion.dev/docs/media/cache',+ docLink: 'https://www.remotion.dev/docs/options/media-cache-size-in-bytes',type: 0 as number | null,getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {diff --git a/packages/renderer/src/options/video-codec.tsx b/packages/renderer/src/options/video-codec.tsxindex 14868d0469..c3ddf9bcfa 100644--- a/packages/renderer/src/options/video-codec.tsx+++ b/packages/renderer/src/options/video-codec.tsx@@ -60,7 +60,7 @@ export const videoCodecOption = {</>),ssrName: 'codec',- docLink: 'https://www.remotion.dev/docs/encoding/#choosing-a-codec',+ docLink: 'https://www.remotion.dev/docs/options/codec',type: '' as Codec,getValue: ({commandLine}: {commandLine: Record<string, unknown>},diff --git a/packages/renderer/src/options/video-image-format.tsx b/packages/renderer/src/options/video-image-format.tsxindex 40141c582c..b39dcb491e 100644--- a/packages/renderer/src/options/video-image-format.tsx+++ b/packages/renderer/src/options/video-image-format.tsx@@ -20,7 +20,7 @@ export const videoImageFormatOption = {</>),ssrName: 'imageFormat' as const,- docLink: 'https://www.remotion.dev/docs/renderer/render-media#imageformat',+ docLink: 'https://www.remotion.dev/docs/options/video-image-format',type: null as VideoImageFormat | null,getValue: ({commandLine},diff --git a/packages/renderer/src/options/webhook-custom-data.tsx b/packages/renderer/src/options/webhook-custom-data.tsxindex d70c839c81..5595ce50a2 100644--- a/packages/renderer/src/options/webhook-custom-data.tsx+++ b/packages/renderer/src/options/webhook-custom-data.tsx@@ -15,7 +15,7 @@ export const webhookCustomDataOption = {</>),ssrName: 'customData' as const,- docLink: 'https://www.remotion.dev/docs/lambda/webhooks',+ docLink: 'https://www.remotion.dev/docs/options/webhook-custom-data',type: {} as Record<string, unknown> | null,getValue: () => {throw new Error('Option resolution not implemented');diff --git a/packages/renderer/src/options/webpack-poll.tsx b/packages/renderer/src/options/webpack-poll.tsxindex dbf2a9fe3a..d9f5f94151 100644--- a/packages/renderer/src/options/webpack-poll.tsx+++ b/packages/renderer/src/options/webpack-poll.tsx@@ -15,8 +15,7 @@ export const webpackPollOption = {</>),ssrName: null,- docLink:- 'https://www.remotion.dev/docs/config#setwebpackpollinginmilliseconds',+ docLink: 'https://www.remotion.dev/docs/options/webpack-poll',getValue: ({commandLine}) => {if (commandLine[cliFlag] !== undefined) {const val = commandLine[cliFlag];diff --git a/packages/renderer/src/options/x264-preset.tsx b/packages/renderer/src/options/x264-preset.tsxindex 50b174cd0d..4907d98251 100644--- a/packages/renderer/src/options/x264-preset.tsx+++ b/packages/renderer/src/options/x264-preset.tsx@@ -67,7 +67,7 @@ export const x264Option = {</>),ssrName: 'x264Preset' as const,- docLink: 'https://www.remotion.dev/docs/renderer/render-media',+ docLink: 'https://www.remotion.dev/docs/options/x264-preset',type: 'fast' as X264Preset | null,getValue: ({commandLine}) => {const value = commandLine[cliFlag];