From c2e74a77a9283940f43cd236b8d7d23c48b094af Mon Sep 17 00:00:00 2001 From: Egor Didenko Date: Tue, 11 Aug 2026 12:32:29 -0400 Subject: [PATCH] docs: hide demo links until the demo page ships Co-Authored-By: Claude Opus 4.8 (1M context) --- packages/ai-image-editor/docs/.vitepress/config.mts | 4 ++-- packages/ai-image-editor/docs/guide/getting-started.md | 4 ++-- packages/ai-image-editor/docs/guide/layout.md | 3 +-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/packages/ai-image-editor/docs/.vitepress/config.mts b/packages/ai-image-editor/docs/.vitepress/config.mts index fc32f569..234163d0 100644 --- a/packages/ai-image-editor/docs/.vitepress/config.mts +++ b/packages/ai-image-editor/docs/.vitepress/config.mts @@ -42,7 +42,7 @@ export default defineConfig({ siteTitle: 'AI Image Editor', nav: [ { text: 'Guide', link: '/guide/getting-started' }, - { text: 'Demo', link: '/demo' }, + // { text: 'Demo', link: '/demo' }, { text: 'API', link: '/api/' }, // Built by `playground:build` into `/playground/`, not a VitePress // route — so it is only reachable on a built site, not in `docs:dev`. @@ -52,7 +52,7 @@ export default defineConfig({ // is not in its route map that lookup 404s. `_self` (rather than `_blank`) // keeps it in the same tab and avoids the external-link icon, which // `VPLink` only adds for `_blank`. - { text: 'Playground', link: '/playground/', target: '_self' }, + // { text: 'Playground', link: '/playground/', target: '_self' }, { text: 'Uploadcare', items: [ diff --git a/packages/ai-image-editor/docs/guide/getting-started.md b/packages/ai-image-editor/docs/guide/getting-started.md index ad99aa0a..e626dae7 100644 --- a/packages/ai-image-editor/docs/guide/getting-started.md +++ b/packages/ai-image-editor/docs/guide/getting-started.md @@ -9,7 +9,7 @@ package gives you a framework-agnostic `` web component, plu optional plugin that adds an **AI Edit** action and a **Generate image** source to the [File Uploader](https://uploadcare.com/docs/file-uploader/). -Want to see it first? Head to the [live demo](/demo). + ## Install @@ -112,4 +112,4 @@ flips a from-scratch session into edit mode, so you can chain edits. - [File Uploader plugin](/guide/plugin): drop it into the uploader. - [Theming](/guide/theming) · [Localization](/guide/localization) -- [Live demo](/demo): try the editor and its layout options. + diff --git a/packages/ai-image-editor/docs/guide/layout.md b/packages/ai-image-editor/docs/guide/layout.md index ce8ba830..40732792 100644 --- a/packages/ai-image-editor/docs/guide/layout.md +++ b/packages/ai-image-editor/docs/guide/layout.md @@ -6,8 +6,7 @@ title: UI & layout The editor's chrome is arranged from a few independent pieces. This page explains each and the properties that position them. Every option here is an attribute, -so you can set it in HTML or as a property, and you can try them all live on the -[demo](/demo). +so you can set it in HTML or as a property. ## The pieces