Skip to content
Open
2 changes: 2 additions & 0 deletions docs/concepts/compositions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ You can embed one composition inside another in two ways: loading from an extern
<Tab title="External file">
Reference another HTML file with `data-composition-src`. The framework automatically fetches the file, extracts the `<template>` content, mounts it, executes scripts, and registers the timeline.

`data-composition-src` paths resolve relative to the **project root**, not the referencing file — a nested composition one level deep still writes `compositions/foo.html`, never `../compositions/foo.html`.

```html index.html
<div
id="el-5"
Expand Down
65 changes: 62 additions & 3 deletions docs/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,60 @@
"concepts/determinism"
]
},
{
"group": "Prompt Guide",
"pages": [
"prompting/overview",
{
"group": "Fundamentals",
"pages": [
"prompting/anatomy",
"prompting/examples",
"prompting/specification-dial",
"prompting/vocabulary",
"prompting/iterating",
"prompting/rules-and-anti-patterns"
]
},
{
"group": "Making it look good",
"pages": [
"prompting/visual-specs",
"prompting/motion",
"prompting/generated-artwork",
"prompting/recreating-references"
]
},
{
"group": "By video type",
"pages": [
"prompting/product-launch",
"prompting/explainers",
"prompting/code-and-prs",
"prompting/music-and-slideshows",
"prompting/captions-and-talking-heads",
"prompting/motion-graphics"
]
},
{
"group": "By feature",
"pages": [
"prompting/transitions",
"prompting/captions-catalog",
"prompting/overlays-and-lower-thirds",
"prompting/code-blocks",
"prompting/data-and-maps",
"prompting/vfx-and-liquid-glass",
"prompting/rendering-and-output",
"prompting/editing-existing-videos",
"prompting/media-and-audio",
"prompting/variables-and-templating",
"prompting/runtimes-and-3d",
"prompting/design-systems"
]
}
]
},
{
"group": "Guides",
"pages": [
Expand All @@ -86,7 +140,6 @@
"guides/copilot-cli",
"guides/claude-design",
"guides/open-design",
"guides/prompting",
"guides/hyperframes-vs-remotion",
"guides/gsap-animation",
"guides/keyframes",
Expand Down Expand Up @@ -410,5 +463,11 @@
"socials": {
"github": "https://github.com/heygen-com/hyperframes"
}
}
}
},
"redirects": [
{
"source": "/guides/prompting",
"destination": "/prompting/overview"
}
]
}
298 changes: 0 additions & 298 deletions docs/guides/prompting.mdx

This file was deleted.

Loading
Loading