Skip to content

🎥 Make videos programmatically with React

add more source code links to documentation

Jonny Burger25782df4ba3a
diff --git a/packages/core/src/register-root.tsx b/packages/core/src/register-root.ts
similarity index 100%
rename from packages/core/src/register-root.tsx
rename to packages/core/src/register-root.ts
diff --git a/packages/docs/docs/get-input-props.md b/packages/docs/docs/get-input-props.md
index a68404476b..ddc1d526d4 100644
--- a/packages/docs/docs/get-input-props.md
+++ b/packages/docs/docs/get-input-props.md
@@ -33,4 +33,5 @@ In this example, the props also get passed to the component of the composition w
## See also
+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/config/input-props.ts)
- [Dynamic duration, FPS & dimensions](/docs/dynamic-metadata)
diff --git a/packages/docs/docs/measure-spring.md b/packages/docs/docs/measure-spring.md
index d26116e24d..2d07a53984 100644
--- a/packages/docs/docs/measure-spring.md
+++ b/packages/docs/docs/measure-spring.md
@@ -62,4 +62,5 @@ The end value of the animation. Note that depending on the parameters, spring an
## See also
+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/spring/measure-spring.ts)
- [spring()](/docs/spring)
diff --git a/packages/docs/docs/random.md b/packages/docs/docs/random.md
index 5e0166f406..1cb6128e77 100644
--- a/packages/docs/docs/random.md
+++ b/packages/docs/docs/random.md
@@ -39,4 +39,5 @@ random(null) === random(null); // false
## See also
+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/random.ts)
- [Using randomness](/docs/using-randomness)
diff --git a/packages/docs/docs/register-root.md b/packages/docs/docs/register-root.md
index 75147ba2b8..027e6da272 100644
--- a/packages/docs/docs/register-root.md
+++ b/packages/docs/docs/register-root.md
@@ -90,5 +90,6 @@ loadWebAssembly().then(() => {
## See also
+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/register-root.ts)
- [`<Composition />` component](/docs/composition)
- [The fundamentals](/docs/the-fundamentals)