From 7fdc2dc32ed9e2cc4ffc5d0b9dbfd38a617ad7d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81ngel?= Date: Mon, 10 Aug 2026 19:13:57 +0000 Subject: [PATCH 1/4] chore(docs): probe live composition embedding on a docs page --- docs/docs.json | 19 ++++++----- docs/probe-player.mdx | 64 ++++++++++++++++++++++++++++++++++++ docs/public/probe2/comp.json | 1 + 3 files changed, 75 insertions(+), 9 deletions(-) create mode 100644 docs/probe-player.mdx create mode 100644 docs/public/probe2/comp.json diff --git a/docs/docs.json b/docs/docs.json index c51c359780..a3091adb80 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -57,7 +57,8 @@ "introduction", "quickstart", "go-further", - "developers/index" + "developers/index", + "probe-player" ] }, { @@ -83,7 +84,7 @@ "pages": [ "prompting/overview", { - "group": "Level 1 — Your first video", + "group": "Level 1 \u2014 Your first video", "pages": [ "prompting/product-launch", "prompting/explainers", @@ -94,7 +95,7 @@ ] }, { - "group": "Level 2 — Control", + "group": "Level 2 \u2014 Control", "pages": [ "prompting/anatomy", "prompting/specification-dial", @@ -104,14 +105,14 @@ ] }, { - "group": "Level 3 — Life", + "group": "Level 3 \u2014 Life", "pages": [ "prompting/motion", "prompting/transitions" ] }, { - "group": "Level 4 — Substance", + "group": "Level 4 \u2014 Substance", "pages": [ "prompting/code-blocks", "prompting/data-and-maps", @@ -124,13 +125,13 @@ ] }, { - "group": "Level 5 — Voice and sound", + "group": "Level 5 \u2014 Voice and sound", "pages": [ "prompting/media-and-audio" ] }, { - "group": "Level 6 — Scale", + "group": "Level 6 \u2014 Scale", "pages": [ "prompting/design-systems", "prompting/variables-and-templating", @@ -143,7 +144,7 @@ ] }, { - "group": "Level 7 — Capstone", + "group": "Level 7 \u2014 Capstone", "pages": [ "prompting/capstone" ] @@ -805,4 +806,4 @@ "permanent": true } ] -} +} \ No newline at end of file diff --git a/docs/probe-player.mdx b/docs/probe-player.mdx new file mode 100644 index 0000000000..c38f21d4a7 --- /dev/null +++ b/docs/probe-player.mdx @@ -0,0 +1,64 @@ +--- +title: "Player embed probe" +description: "Probe whether a live composition can be mounted on a docs page" +--- + +Each block below prints a visible marker if that strategy works. A blank or missing +block means that strategy is unavailable on this platform. + +## A. iframe with JSX srcDoc + +