Skip to content

🎥 Make videos programmatically with React

feat: corrected references for shapes that was previously paths and add shapes to API docs list

Alex Fernandez672442c9927b
diff --git a/packages/docs/components/TableOfContents/api.tsx b/packages/docs/components/TableOfContents/api.tsx
index 9b2bf3ef7e..f793d1e982 100644
--- a/packages/docs/components/TableOfContents/api.tsx
+++ b/packages/docs/components/TableOfContents/api.tsx
@@ -76,6 +76,10 @@ export const TableOfContents: React.FC = () => {
<strong>@remotion/noise</strong>
<div>Generate noise effects</div>
</TOCItem>
+ <TOCItem link="/docs/shapes">
+ <strong>@remotion/shapes</strong>
+ <div>Generate SVG shapes</div>
+ </TOCItem>
</Grid>
</div>
);
diff --git a/packages/docs/docs/shapes/make-square.md b/packages/docs/docs/shapes/make-square.md
index 2bf09df495..3d070ad22b 100644
--- a/packages/docs/docs/shapes/make-square.md
+++ b/packages/docs/docs/shapes/make-square.md
@@ -4,7 +4,7 @@ title: makeSquare()
crumb: "@remotion/shapes"
---
-_Part of the [` @remotion/shapes`](/docs/paths) package._
+_Part of the [` @remotion/shapes`](/docs/shapes) package._
Generates Square SVG path
diff --git a/packages/docs/docs/shapes/square.md b/packages/docs/docs/shapes/square.md
index 44d9ac313e..fa12bd0a58 100644
--- a/packages/docs/docs/shapes/square.md
+++ b/packages/docs/docs/shapes/square.md
@@ -46,4 +46,4 @@ export const MyComposition = () => {
- [makeTriangle()](/docs/shapes/make-triangle)
- [makeSquare()](/docs/shapes/make-square)
- [`@remotion/shapes`](/docs/shapes)
-- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/paths/src/square.tsx)
+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/shapes/src/square.tsx)