Skip to content

🎥 Make videos programmatically with React

fix URLs

Jonny Burgerf19d091c9694
diff --git a/packages/docs/docs/cli/render.md b/packages/docs/docs/cli/render.md
index f58b9d27e6..00ce262fcb 100644
--- a/packages/docs/docs/cli/render.md
+++ b/packages/docs/docs/cli/render.md
@@ -10,17 +10,13 @@ import {AngleChangelog} from '../../components/AngleChangelog';
Render a video or audio based on the entry point, the composition ID and save it to the output location.
```bash
-npx remotion render <entry-file?> [<composition-id>] [<output-location>]
+npx remotion render <entry-point|serve-url?> <composition-id> <output-location>
```
-If `entry-file` is not passed, Remotion will try to detect the entry file with the following priority order:
+You may pass a [Serve URL](/docs/terminology/serve-url) or an [entry point](/docs/terminology/entry-point) as the argument, otherwise the entry point will be [determined](/docs/terminology/entry-point#which-entry-point-is-being-used).
-1. Get the path from the Config (Can be set using `Config.setEntryPoint("<entry-point>")`).
-2. Look for some common paths i.e. `src/index.ts`, `src/index.tsx` `src/index.js`, `remotion/index.ts`, `app/remotion/index.ts`.
-3. Fail as entry point could not be determined.
-
-If `output-location` is not passed, the media will be rendered into the `out` folder.
-If `composition-id` is also not passed, Remotion will let you select a composition.
+If `composition-id` is not passed, Remotion will ask you to select a composition.
+If `output-location` is not passed, the media will be rendered into the `out` folder.
## Flags
diff --git a/packages/docs/docs/cli/studio.md b/packages/docs/docs/cli/studio.md
index 66af479a6c..35a30e7735 100644
--- a/packages/docs/docs/cli/studio.md
+++ b/packages/docs/docs/cli/studio.md
@@ -7,17 +7,13 @@ crumb: CLI Reference
_Alias: npx remotion preview_
-Start the Remotion Studio. The only argument to pass is the entry file:
+Start the [Remotion Studio](/docs/studio).
```bash
-npx remotion studio <entry-file>
+npx remotion studio <entry-point?>
```
-If `entry-file` is not passed, Remotion will try to detect the entry file with the following priority order:
-
-1. Get the path from the Config (Can be set using `Config.setEntryPoint("<entry-point>")`).
-2. Look for some common paths i.e. `src/index.ts`, `src/index.tsx`, `src/index.js`, `remotion/index.js`.
-3. Fail as entry point could not be determined.
+You may pass an [entry point](/docs/terminology/entry-point) as an argument, otherwise it will be [determined](/docs/terminology/entry-point#which-entry-point-is-being-used).
## Flags
diff --git a/packages/docs/docs/terminology/composition.md b/packages/docs/docs/terminology/composition.md
index 8e13e6ddaa..c3dab36531 100644
--- a/packages/docs/docs/terminology/composition.md
+++ b/packages/docs/docs/terminology/composition.md
@@ -12,7 +12,7 @@ A composition is something you can render. It consists of:
<Step>4</Step> a duration value<br/>
<Step>5</Step> an identifier <code>id</code><br/><br/>
-It can be registered in the [Remotion Studio](#remotion-studio) by rendering a [`<Composition>`](/docs/composition) component.
+It can be registered in the [Remotion Studio](/docs/terminology/studio) by rendering a [`<Composition>`](/docs/composition) component.
A composition with a duration of 1 frame is also called a [`<Still>`](/docs/still).
In the [Remotion Player](/docs/terminology/player), you don't use the `<Composition>` component, rather you pass the component and metadata directly to the [`<Player>`](/docs/player/player).
diff --git a/packages/docs/docs/terminology/remotion-root.md b/packages/docs/docs/terminology/remotion-root.md
index 92b6187f49..3f300835a6 100644
--- a/packages/docs/docs/terminology/remotion-root.md
+++ b/packages/docs/docs/terminology/remotion-root.md
@@ -5,7 +5,7 @@ crumb: "Terminology"
---
The Remotion Root is the directory in which Remotion commands get executed in.
-It influences the default location of the [public dir](#public-dir), the `.env` file and the [config file](/docs/config) amongst others.
+It influences the default location of the [public dir](/docs/terminology/public-dir), the `.env` file and the [config file](/docs/config) amongst others.
## Which directory is the Remotion Root?
diff --git a/packages/docs/docs/terminology/serve-url.md b/packages/docs/docs/terminology/serve-url.md
index 20a1914b2e..37627edd05 100644
--- a/packages/docs/docs/terminology/serve-url.md
+++ b/packages/docs/docs/terminology/serve-url.md
@@ -4,11 +4,11 @@ title: Serve URL
crumb: "Terminology"
---
-A Serve URL is a URL under which [a Remotion Bundle](#bundle) is hosted.
+A Serve URL is a URL under which [a Remotion Bundle](/docs/terminology/bundle) is hosted.
When rendering your video, Remotion will open a headless browser and visit that URL in order to make screenshots of it.
-The most common use case for a Serve URL is when rendering a video on Lambda, you need to deploy your [bundle](#bundle) to Amazon S3, which will [make it a Serve URL](/docs/lambda/cli/sites#create).
+The most common use case for a Serve URL is when rendering a video on Lambda, you need to deploy your [bundle](/docs/terminology/bundle) to Amazon S3, which will [make it a Serve URL](/docs/lambda/cli/sites#create).
-If you have a Serve URL, you can also render a video locally by passing a serve URL instead of an [entry point](#entry-point).
+If you have a Serve URL, you can also render a video locally by passing a serve URL instead of an [entry point](/docs/terminology/entry-point).
A serve URL doesn't have to be on S3, it can be on any provider that supports static deployments (e.g. Netlify, Vercel or GitHub pages) or even be a URL that runs on localhost.