From 74dee5f9152cebe0390c16d48a63b5eb683f7307 Mon Sep 17 00:00:00 2001 From: lua-stefan-kruger Date: Mon, 23 Mar 2026 16:02:28 +0000 Subject: [PATCH] feat: add interactive Learn section with embedded terminal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds a new "Learn" tab to the docs with an 18-lesson curriculum across 3 tracks (Beginner, Intermediate, Professional). Each lesson includes an embedded StackBlitz WebContainer terminal where users can run real lua-cli commands interactively — no local setup required. First lesson (Authentication) is fully built with: - Embedded terminal with lua-cli pre-installed - Step-by-step instructions - Knowledge check questions - Navigation to next lesson Remaining 17 lessons are placeholders to be filled in. Co-Authored-By: Claude Opus 4.6 (1M context) --- docs.json | 38 ++++++++++++++++ learn/authentication.mdx | 92 ++++++++++++++++++++++++++++++++++++++ learn/data-and-search.mdx | 8 ++++ learn/dynamic-jobs.mdx | 8 ++++ learn/ecommerce.mdx | 8 ++++ learn/full-project.mdx | 8 ++++ learn/integrations.mdx | 8 ++++ learn/mcp-servers.mdx | 8 ++++ learn/multi-channel.mdx | 8 ++++ learn/persona-design.mdx | 8 ++++ learn/processors.mdx | 8 ++++ learn/production-ops.mdx | 8 ++++ learn/push-and-deploy.mdx | 8 ++++ learn/scheduled-jobs.mdx | 8 ++++ learn/skills-and-tools.mdx | 8 ++++ learn/testing.mdx | 8 ++++ learn/user-state.mdx | 8 ++++ learn/webhooks.mdx | 8 ++++ learn/your-first-agent.mdx | 8 ++++ 19 files changed, 266 insertions(+) create mode 100644 learn/authentication.mdx create mode 100644 learn/data-and-search.mdx create mode 100644 learn/dynamic-jobs.mdx create mode 100644 learn/ecommerce.mdx create mode 100644 learn/full-project.mdx create mode 100644 learn/integrations.mdx create mode 100644 learn/mcp-servers.mdx create mode 100644 learn/multi-channel.mdx create mode 100644 learn/persona-design.mdx create mode 100644 learn/processors.mdx create mode 100644 learn/production-ops.mdx create mode 100644 learn/push-and-deploy.mdx create mode 100644 learn/scheduled-jobs.mdx create mode 100644 learn/skills-and-tools.mdx create mode 100644 learn/testing.mdx create mode 100644 learn/user-state.mdx create mode 100644 learn/webhooks.mdx create mode 100644 learn/your-first-agent.mdx diff --git a/docs.json b/docs.json index 8783a85..c99bdde 100644 --- a/docs.json +++ b/docs.json @@ -14,6 +14,44 @@ "favicon": "/favicon.png", "navigation": { "tabs": [ + { + "tab": "Learn", + "groups": [ + { + "group": "Beginner", + "pages": [ + "learn/authentication", + "learn/your-first-agent", + "learn/skills-and-tools", + "learn/testing", + "learn/push-and-deploy", + "learn/persona-design" + ] + }, + { + "group": "Intermediate", + "pages": [ + "learn/user-state", + "learn/data-and-search", + "learn/webhooks", + "learn/scheduled-jobs", + "learn/processors", + "learn/integrations", + "learn/ecommerce" + ] + }, + { + "group": "Professional", + "pages": [ + "learn/mcp-servers", + "learn/multi-channel", + "learn/dynamic-jobs", + "learn/production-ops", + "learn/full-project" + ] + } + ] + }, { "tab": "Overview", "groups": [ diff --git a/learn/authentication.mdx b/learn/authentication.mdx new file mode 100644 index 0000000..27de513 --- /dev/null +++ b/learn/authentication.mdx @@ -0,0 +1,92 @@ +--- +title: "Lesson 1: Authentication" +description: "Set up the Lua CLI and authenticate your account" +--- + + +**Beginner** | 5 min | Lesson 1 of 18 + + +## What you'll learn + +- Run the Lua CLI +- Authenticate your account interactively +- Verify your setup works + +## Interactive Terminal + +Use the terminal below to follow along. `lua-cli` is pre-installed and ready to use. + +