From d529dd2cc8547f03840bf601f92351ec077850e4 Mon Sep 17 00:00:00 2001 From: Prakhar Gupta <92228082+prakhargupta1@users.noreply.github.com> Date: Tue, 5 Nov 2024 12:55:50 +0530 Subject: [PATCH] [docs] Fix more 404s on examples page (#4368) --- examples/charts/toolpad/application.yml | 3 +++ examples/studio/auth-google/README.md | 2 +- examples/studio/charts/README.md | 2 +- examples/studio/charts/toolpad/pages/page/page.yml | 3 +++ examples/studio/custom-datagrid-column/README.md | 2 +- examples/studio/custom-server-nextjs/README.md | 2 +- examples/studio/custom-server/README.md | 2 +- examples/studio/datagrid-columns/README.md | 2 +- examples/studio/datagrid-premium/README.md | 2 +- examples/studio/graphql/README.md | 2 +- examples/studio/hacker-news-client/README.md | 2 +- examples/studio/npm-stats/README.md | 2 +- examples/studio/qr-generator/README.md | 2 +- examples/studio/stripe-script/README.md | 2 +- examples/studio/supabase/README.md | 2 +- examples/studio/tabs/README.md | 2 +- examples/studio/with-prisma-data-provider/README.md | 2 +- examples/studio/with-prisma/README.md | 2 +- 18 files changed, 22 insertions(+), 16 deletions(-) create mode 100644 examples/charts/toolpad/application.yml diff --git a/examples/charts/toolpad/application.yml b/examples/charts/toolpad/application.yml new file mode 100644 index 00000000000..6b008228134 --- /dev/null +++ b/examples/charts/toolpad/application.yml @@ -0,0 +1,3 @@ +apiVersion: v1 +kind: application +spec: {} diff --git a/examples/studio/auth-google/README.md b/examples/studio/auth-google/README.md index 52bdbafc33e..cddd6d160a7 100644 --- a/examples/studio/auth-google/README.md +++ b/examples/studio/auth-google/README.md @@ -32,4 +32,4 @@ pnpm create toolpad-app --example auth-google or: -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/studio/auth-google) +[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/examples/studio/auth-google) diff --git a/examples/studio/charts/README.md b/examples/studio/charts/README.md index 576546b7998..857e35c76c9 100644 --- a/examples/studio/charts/README.md +++ b/examples/studio/charts/README.md @@ -34,4 +34,4 @@ This app demonstrates the following capabilities of Toolpad Studio: ## The source -[Check out the source code](https://github.com/mui/toolpad/tree/master/studio/charts) +[Check out the source code](https://github.com/mui/toolpad/tree/master/examples/studio/charts) diff --git a/examples/studio/charts/toolpad/pages/page/page.yml b/examples/studio/charts/toolpad/pages/page/page.yml index 4ab0cbd88fc..b7c2067ec6e 100644 --- a/examples/studio/charts/toolpad/pages/page/page.yml +++ b/examples/studio/charts/toolpad/pages/page/page.yml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.2.0/docs/schemas/v1/definitions.json#properties/Page + apiVersion: v1 kind: page spec: @@ -87,4 +89,5 @@ spec: transform: return data.movies; transformEnabled: true searchParams: [] + url: https://raw.githubusercontent.com/mui/toolpad/master/public/movies.json display: shell diff --git a/examples/studio/custom-datagrid-column/README.md b/examples/studio/custom-datagrid-column/README.md index b432033b958..1ac289c0743 100644 --- a/examples/studio/custom-datagrid-column/README.md +++ b/examples/studio/custom-datagrid-column/README.md @@ -26,4 +26,4 @@ pnpm create toolpad-app --example custom-datagrid-column or: -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/studio/custom-datagrid-column) +[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/examples/studio/custom-datagrid-column) diff --git a/examples/studio/custom-server-nextjs/README.md b/examples/studio/custom-server-nextjs/README.md index 247ddeb1699..9322fcddc7d 100644 --- a/examples/studio/custom-server-nextjs/README.md +++ b/examples/studio/custom-server-nextjs/README.md @@ -26,4 +26,4 @@ pnpm create toolpad-app --example custom-server-nextjs or: -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/studio/custom-server-nextjs) +[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/examples/studio/custom-server-nextjs) diff --git a/examples/studio/custom-server/README.md b/examples/studio/custom-server/README.md index 3c69004f283..c2df40dc82f 100644 --- a/examples/studio/custom-server/README.md +++ b/examples/studio/custom-server/README.md @@ -26,4 +26,4 @@ pnpm create toolpad-app --example custom-server or: -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/studio/custom-server) +[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/examples/studio/custom-server) diff --git a/examples/studio/datagrid-columns/README.md b/examples/studio/datagrid-columns/README.md index daf7984970c..79ca3b376fc 100644 --- a/examples/studio/datagrid-columns/README.md +++ b/examples/studio/datagrid-columns/README.md @@ -26,4 +26,4 @@ pnpm create toolpad-app --example datagrid-columns or: -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/studio/datagrid-columns) +[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/examples/studio/datagrid-columns) diff --git a/examples/studio/datagrid-premium/README.md b/examples/studio/datagrid-premium/README.md index d81d9a8c3c7..76800632789 100644 --- a/examples/studio/datagrid-premium/README.md +++ b/examples/studio/datagrid-premium/README.md @@ -26,4 +26,4 @@ This app demonstrates the following capabilities of Toolpad Studio: ## The source -[Check out the source code](https://github.com/mui/toolpad/tree/master/studio/datagrid-premium) +[Check out the source code](https://github.com/mui/toolpad/tree/master/examples/studio/datagrid-premium) diff --git a/examples/studio/graphql/README.md b/examples/studio/graphql/README.md index 41850c559b2..a38d30f6b87 100644 --- a/examples/studio/graphql/README.md +++ b/examples/studio/graphql/README.md @@ -28,7 +28,7 @@ pnpm create toolpad-app --example graphql or: -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/studio/graphql) +[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/examples/studio/graphql) ## What's inside diff --git a/examples/studio/hacker-news-client/README.md b/examples/studio/hacker-news-client/README.md index 63192927bfa..de2eeeb8e79 100644 --- a/examples/studio/hacker-news-client/README.md +++ b/examples/studio/hacker-news-client/README.md @@ -24,7 +24,7 @@ pnpm create toolpad-app --example hacker-news-client or: -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/studio/hacker-news-client) +[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/examples/studio/hacker-news-client) ## What's inside diff --git a/examples/studio/npm-stats/README.md b/examples/studio/npm-stats/README.md index 40082852c4a..9fcc4e974a2 100644 --- a/examples/studio/npm-stats/README.md +++ b/examples/studio/npm-stats/README.md @@ -28,7 +28,7 @@ pnpm create toolpad-app --example npm-stats or: -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/studio/npm-stats) +[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/examples/studio/npm-stats) ## What's inside diff --git a/examples/studio/qr-generator/README.md b/examples/studio/qr-generator/README.md index 7e3d1d365d4..a38b49a379a 100644 --- a/examples/studio/qr-generator/README.md +++ b/examples/studio/qr-generator/README.md @@ -28,7 +28,7 @@ pnpm create toolpad-app --example qr-generator or: -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/studio/qr-generator) +[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/examples/studio/qr-generator) ## What's inside diff --git a/examples/studio/stripe-script/README.md b/examples/studio/stripe-script/README.md index 9834dcca827..32f4d8b4a76 100644 --- a/examples/studio/stripe-script/README.md +++ b/examples/studio/stripe-script/README.md @@ -38,4 +38,4 @@ The app involves the following workflow: ## The source -[Check out the source code](https://github.com/mui/toolpad/tree/master/studio/stripe-script) +[Check out the source code](https://github.com/mui/toolpad/tree/master/examples/studio/stripe-script) diff --git a/examples/studio/supabase/README.md b/examples/studio/supabase/README.md index 4090c161815..bf393aa58db 100644 --- a/examples/studio/supabase/README.md +++ b/examples/studio/supabase/README.md @@ -35,4 +35,4 @@ This app demonstrates the following capabilities of Toolpad Studio: ## The source -[Check out the source code](https://github.com/mui/toolpad/tree/master/examplesstudio//supabase) +[Check out the source code](https://github.com/mui/toolpad/tree/master/examples/studio/supabase) diff --git a/examples/studio/tabs/README.md b/examples/studio/tabs/README.md index 3988d57912e..34b8307a99c 100644 --- a/examples/studio/tabs/README.md +++ b/examples/studio/tabs/README.md @@ -20,7 +20,7 @@ pnpm create toolpad-app --example tabs or: -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/studio/tabs) +[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/examples/studio/tabs) ## What's inside diff --git a/examples/studio/with-prisma-data-provider/README.md b/examples/studio/with-prisma-data-provider/README.md index 7a7135477d1..1ac5c31a909 100644 --- a/examples/studio/with-prisma-data-provider/README.md +++ b/examples/studio/with-prisma-data-provider/README.md @@ -36,4 +36,4 @@ This app demonstrates the following capabilities of Toolpad: ## The source -[Check out the source code](https://github.com/mui/toolpad/tree/master/studio/with-prisma-data-provider) +[Check out the source code](https://github.com/mui/toolpad/tree/master/examples/studio/with-prisma-data-provider) diff --git a/examples/studio/with-prisma/README.md b/examples/studio/with-prisma/README.md index 590a94ca40e..ff891fd386e 100644 --- a/examples/studio/with-prisma/README.md +++ b/examples/studio/with-prisma/README.md @@ -30,4 +30,4 @@ This app demonstrates the following capabilities of Toolpad Studio: 2. Using a Data Grid, Button and a text input component. 3. Using CRUD operations from [Prisma Client API](https://www.prisma.io/docs/concepts/components/prisma-client/crud). -[Check out the source code](https://github.com/mui/toolpad/tree/master/studio/with-prisma) +[Check out the source code](https://github.com/mui/toolpad/tree/master/examples/studio/with-prisma)