Skip to content

🎥 Make videos programmatically with React

get started

Jonny Burger7be34cec4c7e
diff --git a/packages/docs/components/InlineStep.tsx b/packages/docs/components/InlineStep.tsx
index e97d589784..cf3e36e1c2 100644
--- a/packages/docs/components/InlineStep.tsx
+++ b/packages/docs/components/InlineStep.tsx
@@ -31,8 +31,10 @@ export const Step: React.FC<{
<span
style={{
marginRight: 7,
- display: "inline",
+ display: "inline-block",
position: "relative",
+ marginTop: 4,
+ marginBottom: 4,
}}
>
<InlineStep>{children}</InlineStep>{" "}
diff --git a/packages/docs/docs/clipper.md b/packages/docs/docs/clipper.md
index cc256820a0..46ad9f687a 100644
--- a/packages/docs/docs/clipper.md
+++ b/packages/docs/docs/clipper.md
@@ -36,17 +36,16 @@ The properties `x`, `y`, `width` and `height` define a rect in pixels that shoul
## Rules
-<p>
+<div>
<Step>1</Step> Even elements <strong>outside</strong> of the <code>{"<Clipper>"}</code> component will be clipped.
-</p>
-
-<p>
-<Step>2</Step> If the <code>imageFormat</code> is <code>jpeg</code>, the remaining frame will become black, if the <code>imageFormat</code> is <code>png</code>, the remaining frame will become transparent.
-</p>
-<p>
+</div>
+<div>
+<Step>2</Step> If the <code>imageFormat</code> is <code>jpeg</code>, the remaining frame will become black, if the <code>imageFormat</code> is <code>png</code>, the remaining frame will become transparent.
+</div>
+<div>
<Step>3</Step> Only one <a href="/docs/null"><code>{"<Experimental.Null>"}</code></a> or <code>{"<Experimental.Clipper>"}</code> component can be rendered per frame.
Rendering multiple is an error.
-</p>
+</div>
## See also
diff --git a/packages/docs/docs/lambda/troubleshooting/debug.md b/packages/docs/docs/lambda/troubleshooting/debug.md
new file mode 100644
index 0000000000..cbd5d1637d
--- /dev/null
+++ b/packages/docs/docs/lambda/troubleshooting/debug.md
@@ -0,0 +1,12 @@
+---
+id: debug
+sidebar_label: Debugging failures
+title: Debugging failed renders
+crumb: "Lambda"
+---
+
+There are three reasons renders may fail:
+
+<div><Step>1</Step> The main function has timed out. </div>
+<div><Step>2</Step> An error occurs in your React code. </div>
+<div><Step>3</Step> A timeout occurs in one of the chunks. </div>
diff --git a/packages/docs/docs/null.md b/packages/docs/docs/null.md
index ed991ac4d9..77d4ce605c 100644
--- a/packages/docs/docs/null.md
+++ b/packages/docs/docs/null.md
@@ -28,29 +28,29 @@ export const MyComp: React.FC = () => {
## Rules
-<p>
+<div>
<Step>1</Step> If this component is rendered, no screenshot will be taken during rendering
-</p>
-<p>
+</div>
+<div>
<Step>2</Step> In the preview, the content will be rendered with zero opacity.
-</p>
-<p>
+</div>
+<div>
<Step>3</Step> Even elements <strong>outside</strong> of the <code>{"<Null>"}</code> component will disappear.
-</p>
-<p>
+</div>
+<div>
<Step>4</Step> Audio will still be rendered.
-</p>
-<p>
+</div>
+<div>
<Step>5</Step> Effects will still be executed.
-</p>
+</div>
-<p>
+<div>
<Step>6</Step> If the <code>imageFormat</code> is <code>jpeg</code>, a black frame will be generated, if the <code>imageFormat</code> is <code>png</code>, a transparent frame will be generated.
-</p>
-<p>
+</div>
+<div>
<Step>7</Step> Only one <code>{"<Experimental.Null>"}</code> or <a href="/docs/clipper"><code>{"<Experimental.Clipper>"}</code></a> component can be rendered per frame.
Rendering multiple is an error.
-</p>
+</div>
## See also
diff --git a/packages/docs/sidebars.js b/packages/docs/sidebars.js
index 72e0e5c301..522e97d0c6 100644
--- a/packages/docs/sidebars.js
+++ b/packages/docs/sidebars.js
@@ -381,6 +381,7 @@ module.exports = {
type: "category",
label: "Troubleshooting",
items: [
+ "lambda/troubleshooting/debug",
"lambda/troubleshooting/permissions",
"lambda/troubleshooting/rate-limit",
"lambda/troubleshooting/unrecognizedclientexception",