From 4fada434cbade960a9931eb5de8443be8abed358 Mon Sep 17 00:00:00 2001 From: Jeroen Claassens Date: Mon, 27 Nov 2023 23:00:46 +0100 Subject: [PATCH] docs: update urls to mention v8 --- README.md | 8 ++++---- docs/magidoc.mjs | 2 +- docs/pages/01.Introduction/01.Welcome.md | 4 ++-- docs/pages/01.Introduction/02.JavaScript Examples.md | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 6c1abc103e..d9e6d502ab 100644 --- a/README.md +++ b/README.md @@ -112,7 +112,7 @@ interface GraphQLPokemonResponse> { data: Record>; } -fetch('https://graphqlpokemon.favware.tech/v7', { +fetch('https://graphqlpokemon.favware.tech/v8', { method: 'POST', headers: { 'Content-Type': 'application/json' @@ -161,7 +161,7 @@ const getFuzzyPokemon = gql` `; const apolloClient = new ApolloClient({ - uri: 'https://graphqlpokemon.favware.tech/v7', + uri: 'https://graphqlpokemon.favware.tech/v8', fetch }); @@ -189,7 +189,7 @@ import { HttpLink } from 'apollo-link-http'; // Instantiate required constructor fields const cache = new InMemoryCache(); const link = new HttpLink({ - uri: 'https://graphqlpokemon.favware.tech/v7' + uri: 'https://graphqlpokemon.favware.tech/v8' }); export const client = new ApolloClient({ @@ -285,7 +285,7 @@ Thank you to all the people who already contributed to GraphQL-Pokemon! [contributing]: ./.github/CONTRIBUTING.md -[dashboard]: https://graphqlpokemon.favware.tech/v7 +[dashboard]: https://graphqlpokemon.favware.tech/v8 [yarn]: https://yarnpkg.com/package/@favware/graphql-pokemon [npm]: https://www.npmjs.com/package/@favware/graphql-pokemon [ghcr_npm]: https://github.com/favware/graphql-pokemon/packages/199047 diff --git a/docs/magidoc.mjs b/docs/magidoc.mjs index 2c65e90681..812e128944 100644 --- a/docs/magidoc.mjs +++ b/docs/magidoc.mjs @@ -33,7 +33,7 @@ const config = { { group: 'Demo', label: 'Playground', - href: 'https://graphqlpokemon.favware.tech/v7' + href: 'https://graphqlpokemon.favware.tech/v8' }, { group: 'Donate', diff --git a/docs/pages/01.Introduction/01.Welcome.md b/docs/pages/01.Introduction/01.Welcome.md index 09fba3b7b8..ff622d1362 100644 --- a/docs/pages/01.Introduction/01.Welcome.md +++ b/docs/pages/01.Introduction/01.Welcome.md @@ -10,10 +10,10 @@ popular video game series, provided by external sources such as [Bulbapedia](https://bulbapedia.bulbagarden.net). The easiest way to get to know this API is to try it out in the -[playground](https://graphqlpokemon.favware.tech/v7). +[playground](https://graphqlpokemon.favware.tech/v8). For implementing the API in your own code, choose your preferred language and method of making Web requests. Beyond that point you will need to learn the GraphQL syntax, and the documentation on this website as well as the queries -provided by the [playground](https://graphqlpokemon.favware.tech/v7) will help +provided by the [playground](https://graphqlpokemon.favware.tech/v8) will help you get started. diff --git a/docs/pages/01.Introduction/02.JavaScript Examples.md b/docs/pages/01.Introduction/02.JavaScript Examples.md index 37c96d3dfd..af3754b680 100644 --- a/docs/pages/01.Introduction/02.JavaScript Examples.md +++ b/docs/pages/01.Introduction/02.JavaScript Examples.md @@ -15,7 +15,7 @@ interface GraphQLPokemonResponse> { data: Record>; } -fetch('https://graphqlpokemon.favware.tech/v7', { +fetch('https://graphqlpokemon.favware.tech/v8', { method: 'POST', headers: { 'Content-Type': 'application/json' @@ -64,7 +64,7 @@ const getFuzzyPokemon = gql` `; const apolloClient = new ApolloClient({ - uri: 'https://graphqlpokemon.favware.tech/v7', + uri: 'https://graphqlpokemon.favware.tech/v8', fetch }); @@ -93,7 +93,7 @@ import { HttpLink } from 'apollo-link-http'; // Instantiate required constructor fields const cache = new InMemoryCache(); const link = new HttpLink({ - uri: 'https://graphqlpokemon.favware.tech/v7' + uri: 'https://graphqlpokemon.favware.tech/v8' }); export const client = new ApolloClient({