From 4359205cbc0966b7ce75802c9f2ad0ed9f89c9e0 Mon Sep 17 00:00:00 2001 From: Adrien Crivelli Date: Thu, 19 Sep 2024 17:14:44 +0200 Subject: [PATCH] Drop broken Stackblitz example Fixes #2087 --- website/next.config.js | 1 - website/src/pages/docs/get-started.mdx | 4 ---- website/src/pages/docs/recipes/_meta.ts | 1 - .../src/pages/docs/recipes/simple-example.mdx | 16 ---------------- 4 files changed, 22 deletions(-) delete mode 100644 website/src/pages/docs/recipes/simple-example.mdx diff --git a/website/next.config.js b/website/next.config.js index 469d991d6..d26f2e50c 100644 --- a/website/next.config.js +++ b/website/next.config.js @@ -24,7 +24,6 @@ export default withGuildDocs({ '/docs/features/fragments.html': '/docs/data/fragments', '/docs/guides/testing.html': '/docs/development-and-testing/testing', '/docs/guides/testing': '/docs/development-and-testing/testing', - '/docs/recipes': '/docs/recipes/simple-example', '/docs/data': '/docs/data/queries', '/docs/caching': '/docs/caching/configuration', '/docs/local-state': '/docs/local-state/management', diff --git a/website/src/pages/docs/get-started.mdx b/website/src/pages/docs/get-started.mdx index 047e4344d..4913e2ccb 100644 --- a/website/src/pages/docs/get-started.mdx +++ b/website/src/pages/docs/get-started.mdx @@ -175,10 +175,6 @@ your `App` component from the previous example, you'll first see a loading indic on the page once it's ready. Apollo Client automatically caches this data when it comes back from the server, so you won't see a loading indicator if you run the same query twice. -If you'd like to play around with the app we just built, you can view it on -[StackBlitz](https://stackblitz.com/edit/basic-apollo-angular-app). Don't stop there! Try building -more components with `Apollo` service and experimenting with the concepts you just learned. - ## Named Clients It is possible to have several apollo clients in the application, for example, pointing to different diff --git a/website/src/pages/docs/recipes/_meta.ts b/website/src/pages/docs/recipes/_meta.ts index 72ebfc0ab..33bcd3708 100644 --- a/website/src/pages/docs/recipes/_meta.ts +++ b/website/src/pages/docs/recipes/_meta.ts @@ -1,5 +1,4 @@ export default { - 'simple-example': 'Simple Example', 'automatic-persisted-queries': 'Automatic Persisted Queries', 'angular-cli': 'Angular CLI', webpack: ' Webpack Loader', diff --git a/website/src/pages/docs/recipes/simple-example.mdx b/website/src/pages/docs/recipes/simple-example.mdx deleted file mode 100644 index 7a86da28c..000000000 --- a/website/src/pages/docs/recipes/simple-example.mdx +++ /dev/null @@ -1,16 +0,0 @@ ---- -description: - This a very simple example of an Apollo Application that uses Angular. You can see GraphQL in - action, combined with the concepts explained in this guide. ---- - -# Simple Example - -This a very simple example of an Apollo Application that uses Angular. You can see GraphQL in -action, combined with the concepts explained in this guide. - -It is available on StackBlitz.com so -[click here](https://stackblitz.com/edit/simple-apollo-angular-example) to see the app and view the -source code. - -