🎥 Make videos programmatically with React
[docs]: fix import paths for TableOfContents components in MDX files
copilot-swe-agent[bot]0fab804ef251
diff --git a/packages/docs/blog/2022-11-17-remotion-3-3.mdx b/packages/docs/blog/2022-11-17-remotion-3-3.mdxindex 61a30eee67..4d1e64718d 100644--- a/packages/docs/blog/2022-11-17-remotion-3-3.mdx+++ b/packages/docs/blog/2022-11-17-remotion-3-3.mdx@@ -11,7 +11,7 @@ image: /img/remotion-3-3.pngimport Tabs from '@theme/Tabs';import TabItem from '@theme/TabItem';import {NewMuxVideo} from '../src/components/MuxVideo';-import {TableOfContents} from '../components/TableOfContents/paths';+import {TableOfContents} from '../docs/paths/table-of-contents';import {FfmpegVideo} from '../components/FFmpegVideo'## No more FFmpeg installation!diff --git a/packages/docs/docs/animation-utils/index.mdx b/packages/docs/docs/animation-utils/index.mdxindex 74a71b17bc..270d0f321c 100644--- a/packages/docs/docs/animation-utils/index.mdx+++ b/packages/docs/docs/animation-utils/index.mdx@@ -9,7 +9,7 @@ Functions that support you in animating CSS styles.import Tabs from '@theme/Tabs';import TabItem from '@theme/TabItem';-import {TableOfContents} from '../../animation-utils/table-of-contents';+import {TableOfContents} from './table-of-contents';<TabsdefaultValue="npm"diff --git a/packages/docs/docs/bundler.mdx b/packages/docs/docs/bundler.mdxindex 4de6a42801..78fa370d12 100644--- a/packages/docs/docs/bundler.mdx+++ b/packages/docs/docs/bundler.mdx@@ -3,7 +3,7 @@ image: /generated/articles-docs-bundler.pngtitle: "@remotion/bundler"----import {TableOfContents} from '../bundler/table-of-contents';+import {TableOfContents} from './bundler/table-of-contents';A package containing the [`bundle()`](/docs/bundle) function, which takes a Remotion project and bundles it using Webpack, preparing it to be used by server-side rendering functions such as [`getCompositions()`](/docs/renderer/get-compositions) and [`renderMedia()`](/docs/renderer/render-media)diff --git a/packages/docs/docs/cli/cli.mdx b/packages/docs/docs/cli/cli.mdxindex d88988e248..1435f48182 100644--- a/packages/docs/docs/cli/cli.mdx+++ b/packages/docs/docs/cli/cli.mdx@@ -5,7 +5,7 @@ sidebar_label: CLI referenceid: cli----import {TableOfContents} from '../../cli/table-of-contents';+import {TableOfContents} from './table-of-contents';## How to usediff --git a/packages/docs/docs/cloudrun/api.mdx b/packages/docs/docs/cloudrun/api.mdxindex a4bb07ee01..7d3c9b0ce5 100644--- a/packages/docs/docs/cloudrun/api.mdx+++ b/packages/docs/docs/cloudrun/api.mdx@@ -10,7 +10,7 @@ crumb: 'Render videos without servers on GCP'</p></ExperimentalBadge>-import {TableOfContents} from '../../cloudrun/table-of-contents';+import {TableOfContents} from './table-of-contents';<Installation pkg="@remotion/cloudrun" /><br />diff --git a/packages/docs/docs/gif/index.mdx b/packages/docs/docs/gif/index.mdxindex 521c184daa..389d95ec13 100644--- a/packages/docs/docs/gif/index.mdx+++ b/packages/docs/docs/gif/index.mdx@@ -4,7 +4,7 @@ sidebar_label: "@remotion/gif"title: "@remotion/gif"----import {TableOfContents} from '../../gif/table-of-contents';+import {TableOfContents} from './table-of-contents';You can install this package from NPM to get a component for displaying GIFs that synchronize with Remotions [`useCurrentFrame()`](/docs/use-current-frame).diff --git a/packages/docs/docs/lambda/api.mdx b/packages/docs/docs/lambda/api.mdxindex e8331b6d42..de2d5285d8 100644--- a/packages/docs/docs/lambda/api.mdx+++ b/packages/docs/docs/lambda/api.mdx@@ -4,7 +4,7 @@ title: "@remotion/lambda"crumb: "Render videos without servers on AWS"----import {TableOfContents} from '../../lambda/table-of-contents';+import {TableOfContents} from './table-of-contents';<Installation pkg="@remotion/lambda"/><br/>diff --git a/packages/docs/docs/layout-utils/index.mdx b/packages/docs/docs/layout-utils/index.mdxindex 473127dc46..79f2264f7b 100644--- a/packages/docs/docs/layout-utils/index.mdx+++ b/packages/docs/docs/layout-utils/index.mdx@@ -9,7 +9,7 @@ Utility functions for creating dynamic layouts.import Tabs from '@theme/Tabs';import TabItem from '@theme/TabItem';-import {TableOfContents} from '../../layout-utils/table-of-contents';+import {TableOfContents} from './table-of-contents';<TabsdefaultValue="npm"diff --git a/packages/docs/docs/lottie/index.mdx b/packages/docs/docs/lottie/index.mdxindex 176e316968..fa6c9d19ef 100644--- a/packages/docs/docs/lottie/index.mdx+++ b/packages/docs/docs/lottie/index.mdx@@ -7,7 +7,7 @@ title: "@remotion/lottie"import Tabs from '@theme/Tabs';import TabItem from '@theme/TabItem';-import {TableOfContents} from "../../lottie/table-of-contents"+import {TableOfContents} from "./table-of-contents"This package provides a component for displaying [Lottie](http://airbnb.io/lottie/) animations in Remotion.diff --git a/packages/docs/docs/media-utils/index.mdx b/packages/docs/docs/media-utils/index.mdxindex 36a0f42268..97f7647906 100644--- a/packages/docs/docs/media-utils/index.mdx+++ b/packages/docs/docs/media-utils/index.mdx@@ -3,7 +3,7 @@ image: /generated/articles-docs-media-utils-index.pngtitle: "@remotion/media-utils"----import {TableOfContents} from '../../media-utils/table-of-contents';+import {TableOfContents} from './table-of-contents';A package providing utility functions for getting information about video and audio, and for visualizing audio.diff --git a/packages/docs/docs/motion-blur/index.mdx b/packages/docs/docs/motion-blur/index.mdxindex 874281b3f2..43d1f1f92a 100644--- a/packages/docs/docs/motion-blur/index.mdx+++ b/packages/docs/docs/motion-blur/index.mdx@@ -7,7 +7,7 @@ _Available from v3.2.31_Higher order components that create a motion blur and trail effects.-import { TableOfContents } from "../../motion-blur/table-of-contents";+import { TableOfContents } from "./table-of-contents";<Installation pkg="@remotion/motion-blur" />diff --git a/packages/docs/docs/motion-blur/motion-blur.mdx b/packages/docs/docs/motion-blur/motion-blur.mdxindex 818e9ddf07..6efd16b02f 100644--- a/packages/docs/docs/motion-blur/motion-blur.mdx+++ b/packages/docs/docs/motion-blur/motion-blur.mdx@@ -4,7 +4,7 @@ title: "<MotionBlur>"slug: motion-blur----import {TableOfContents} from '../../motion-blur/table-of-contents';+import {TableOfContents} from './table-of-contents';_Deprecated_. Use `<Trail>` or `<CameraMotionBlur>` instead.diff --git a/packages/docs/docs/noise/index.mdx b/packages/docs/docs/noise/index.mdxindex 87680b9e21..4654d9f3ad 100644--- a/packages/docs/docs/noise/index.mdx+++ b/packages/docs/docs/noise/index.mdx@@ -10,7 +10,7 @@ Utility functions that create a noise effect.import Tabs from '@theme/Tabs';import TabItem from '@theme/TabItem';-import {TableOfContents} from '../../noise/table-of-contents';+import {TableOfContents} from './table-of-contents';<TabsdefaultValue="npm"diff --git a/packages/docs/docs/paths/index.mdx b/packages/docs/docs/paths/index.mdxindex 247927c209..65dad3403a 100644--- a/packages/docs/docs/paths/index.mdx+++ b/packages/docs/docs/paths/index.mdx@@ -4,7 +4,7 @@ title: "@remotion/paths"crumb: "SVG"----import {TableOfContents} from '../../paths/table-of-contents';+import {TableOfContents} from './table-of-contents';A package providing utility functions for dealing with SVG paths. This package includes code from [`svg-path-properties`](https://www.npmjs.com/package/svg-path-properties), [`svg-path-reverse`](https://github.com/Pomax/svg-path-reverse#readme), [`svgpath`](https://github.com/fontello/svgpath), [`svg-path-bbox`](https://github.com/mondeja/svg-path-bbox), [`translate-svg-path`](https://github.com/michaelrhodes/translate-svg-path) and [`d3-interpolate-path`](https://github.com/pbeshai/d3-interpolate-path) with the following improvements:diff --git a/packages/docs/docs/preload/preload.mdx b/packages/docs/docs/preload/preload.mdxindex 7d7a24d25e..334be133cb 100644--- a/packages/docs/docs/preload/preload.mdx+++ b/packages/docs/docs/preload/preload.mdx@@ -7,7 +7,7 @@ title: "@remotion/preload"import Tabs from '@theme/Tabs';import TabItem from '@theme/TabItem';-import {TableOfContents} from '../../preload/table-of-contents';+import {TableOfContents} from './table-of-contents';This package provides functions for preloading assets. While preload is not necessary for rendering, it can help with seamless playback in the [`<Player />`](/docs/player) and in the Studio. Currently, three functions are implemented:diff --git a/packages/docs/docs/remotion.mdx b/packages/docs/docs/remotion.mdxindex 8471cf442c..8246f67caf 100644--- a/packages/docs/docs/remotion.mdx+++ b/packages/docs/docs/remotion.mdx@@ -4,7 +4,7 @@ title: 'remotion'crumb: 'Core API Reference'----import {TableOfContents} from '../remotion/table-of-contents';+import {TableOfContents} from './remotion/table-of-contents';A package containing the essential building blocks of expressing videos in Remotion.diff --git a/packages/docs/docs/rive/index.mdx b/packages/docs/docs/rive/index.mdxindex d63ece07d2..6c9b678b17 100644--- a/packages/docs/docs/rive/index.mdx+++ b/packages/docs/docs/rive/index.mdx@@ -7,7 +7,7 @@ crumb: Integrationsimport Tabs from "@theme/Tabs";import TabItem from "@theme/TabItem";-import {TableOfContents} from '../../rive/table-of-contents';+import {TableOfContents} from './table-of-contents';This package provides a component for rendering [Rive](https://rive.app) animations in Remotion.diff --git a/packages/docs/docs/shapes/index.mdx b/packages/docs/docs/shapes/index.mdxindex 23ccb9a0e3..4e07bdd9fd 100644--- a/packages/docs/docs/shapes/index.mdx+++ b/packages/docs/docs/shapes/index.mdx@@ -4,7 +4,7 @@ title: "@remotion/shapes"crumb: "SVG component library"----import {TableOfContents} from '../../shapes/table-of-contents';+import {TableOfContents} from './table-of-contents';A package providing utility functions for generate SVG shapes.diff --git a/packages/docs/docs/transitions/index.mdx b/packages/docs/docs/transitions/index.mdxindex 616a757c55..ff9d34cea1 100644--- a/packages/docs/docs/transitions/index.mdx+++ b/packages/docs/docs/transitions/index.mdx@@ -8,7 +8,7 @@ _available from v4.0.53_import Tabs from "@theme/Tabs";import TabItem from "@theme/TabItem";-import { TableOfContents } from "../../transitions/table-of-contents";+import { TableOfContents } from "./table-of-contents";This package provides the [`<TransitionSeries>`](/docs/transitions/transitionseries) component for transitioning between two scenes as well as timing presets.