Skip to content

🎥 Make videos programmatically with React

add more docs

Jonny Burger0f7171b0d083
diff --git a/packages/docs/docs/cli/render.md b/packages/docs/docs/cli/render.md
index 5879b377fe..72a58d63f6 100644
--- a/packages/docs/docs/cli/render.md
+++ b/packages/docs/docs/cli/render.md
@@ -79,6 +79,12 @@ Specify a location for a dotenv file. Default `.env`. Available in v2.2 and late
[Render a subset of a video](/docs/config#setframerange). Example: `--frames=0-9` to select the first 10 frames. To render a still, use the `still` command. Available since v2.0.
+### `--every-nth-frame`
+
+[Render only every nth frame.](/docs/config#seteverynthframe) This option may only be set when rendering GIFs. This allows you to lower the FPS of the GIF.
+
+For example, if the `fps` is 30, and `--every-nth-frame` is 2, the FPS of the GIF is `15`.
+
### `--bundle-cache`
[Enable or disable Webpack caching](/docs/config#setcachingenabled). This flag is enabled by default, use `--bundle-cache=false` to disable caching. Available since v2.0.
diff --git a/packages/docs/docs/config.md b/packages/docs/docs/config.md
index 9f125143dd..7aea020d0c 100644
--- a/packages/docs/docs/config.md
+++ b/packages/docs/docs/config.md
@@ -318,20 +318,6 @@ Config.Rendering.setEveryNthFrame(2);
The [command line flag](/docs/cli/render#--every-nth-frame) `--every-nth-frame` will take precedence over this option.
-### setEveryNthFrame()
-
-This option may only be set when rendering GIFs. It determines how many frames are rendered, while the other ones gets skipped in order to lower the FPS of the GIF.
-
-For example, if the `fps` is 30, and `everyNthFrame` is 2, the FPS of the GIF is `15`.
-
-```ts twoslash
-import { Config } from "remotion";
-// ---cut---
-Config.Rendering.setEveryNthFrame(2);
-```
-
-The [command line flag](/docs/cli/render#--every-nth-frame) `--every-nth-frame` will take precedence over this option.
-
### setLoop()
This option may only be set when rendering GIFs. If it is set, it will limit the amount of times a GIF will loop. If set to `0`, the GIF will play once, if set to `1`, it will play twice. If set to `null` or not set at all, it will play forever.