From 2cb8b741d25aad9f52776ca3fdd5373f9b028eed Mon Sep 17 00:00:00 2001 From: y2hlbg Date: Sun, 17 May 2026 21:31:27 +0800 Subject: [PATCH] docs: update English tutorial videos --- apps/docs/content/tutorials/en/deploy.mdx | 2 ++ apps/docs/content/tutorials/en/first-workspace.mdx | 2 ++ apps/docs/content/tutorials/en/skills-install.mdx | 2 ++ apps/docs/content/tutorials/en/templates.mdx | 2 ++ apps/docs/src/components/video-embed.tsx | 2 +- 5 files changed, 9 insertions(+), 1 deletion(-) diff --git a/apps/docs/content/tutorials/en/deploy.mdx b/apps/docs/content/tutorials/en/deploy.mdx index eaf4b2d..72bd242 100644 --- a/apps/docs/content/tutorials/en/deploy.mdx +++ b/apps/docs/content/tutorials/en/deploy.mdx @@ -3,6 +3,8 @@ title: One-click deploy description: Pick a deploy backend, configure a profile, and ship one project with one deploy. The shortest path. --- + + This tutorial walks one project to one target. The full menu — all 10 deploy backends, per-project flags, multi-environment trees — lives in [Multi-backend deploy](/en/tutorials/deploy-multi-backend/) (advanced). We'll pick the deploy backend that matches your project's template default. Each template ships with a sensible default; you can override later. diff --git a/apps/docs/content/tutorials/en/first-workspace.mdx b/apps/docs/content/tutorials/en/first-workspace.mdx index 01d1cfe..e8c0007 100644 --- a/apps/docs/content/tutorials/en/first-workspace.mdx +++ b/apps/docs/content/tutorials/en/first-workspace.mdx @@ -3,6 +3,8 @@ title: Manual workspace description: Run one create yourself in the terminal. See what gets written to disk, what manifest it produces, and what default backends get wired. --- + + This tutorial covers exactly one command: `one create`. Picking which templates to use is the [previous chapter](/en/tutorials/templates/); deploying for the first time is the [next chapter](/en/tutorials/deploy/). ## 1. Install the CLI diff --git a/apps/docs/content/tutorials/en/skills-install.mdx b/apps/docs/content/tutorials/en/skills-install.mdx index 98c8c52..5936338 100644 --- a/apps/docs/content/tutorials/en/skills-install.mdx +++ b/apps/docs/content/tutorials/en/skills-install.mdx @@ -3,6 +3,8 @@ title: Install one cli skill description: Run one skills install so Claude Code, Cursor, Codex (and 50+ other coding agents) can drive One CLI for you. --- + + The `one-cli` skill is a bundled agent skill — a markdown package that teaches a coding agent how to use One CLI safely (read JSON output, recover from error codes, pick the right template, install dependencies for the right toolchain). Once it's installed, you can say "add a NestJS API called user-api" and the agent runs `one add nestjs-api --name user-api -o json` for you. `one create` already runs the equivalent of this command for detected agents. This tutorial is for cases where you want to install it explicitly, or to install to additional agents later. diff --git a/apps/docs/content/tutorials/en/templates.mdx b/apps/docs/content/tutorials/en/templates.mdx index e8c6362..99f49cd 100644 --- a/apps/docs/content/tutorials/en/templates.mdx +++ b/apps/docs/content/tutorials/en/templates.mdx @@ -3,6 +3,8 @@ title: One-click workspace description: Pick a template and deploy target on the templates page, then copy the generated one create command into your terminal — no config files to touch. --- + + This is the page you open before you create a workspace. It does two things: 1. Shows the **preset templates** One CLI ships with — what each one is, what stack it uses, where it can deploy. diff --git a/apps/docs/src/components/video-embed.tsx b/apps/docs/src/components/video-embed.tsx index fda70a1..b3b4ae9 100644 --- a/apps/docs/src/components/video-embed.tsx +++ b/apps/docs/src/components/video-embed.tsx @@ -24,7 +24,7 @@ export function VideoEmbed({ provider, videoId, title }: VideoEmbedProps) { allow="autoplay; encrypted-media; picture-in-picture; fullscreen" allowFullScreen loading="lazy" - referrerPolicy="no-referrer" + referrerPolicy="strict-origin-when-cross-origin" src={src} title={title ?? "Tutorial video"} />