diff --git a/docs/getting_started/configuration.mdx b/docs/getting_started/configuration.mdx index 26dbc84a0e..3834caa919 100644 --- a/docs/getting_started/configuration.mdx +++ b/docs/getting_started/configuration.mdx @@ -2,8 +2,9 @@ title: Configuration sidebar_position: 2 --- -import Tabs from '@theme/Tabs'; -import TabItem from '@theme/TabItem'; + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" For our first example, we are going to compose a GraphQL schema from the REST APIs at https://jsonplaceholder.typicode.com, a free online REST API with some fake data. We will use the API at `/users` to get a list of users, and `/users/:id/posts` to get the posts for each user, and compose them into a single GraphQL schema. @@ -56,7 +57,7 @@ type Post { `jsonplaceholder.yml` -```yml showLineNumbers +```yml showLineNumbers server: port: 8000 graphiql: true @@ -200,6 +201,7 @@ types: } } ``` + diff --git a/docs/getting_started/launch.mdx b/docs/getting_started/launch.mdx index d2e699e118..50c54279ed 100644 --- a/docs/getting_started/launch.mdx +++ b/docs/getting_started/launch.mdx @@ -2,8 +2,9 @@ title: Launch sidebar_position: 3 --- -import Tabs from '@theme/Tabs'; -import TabItem from '@theme/TabItem'; + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" Now, run the following command to start the server with the full path to the file that you created earlier. diff --git a/docs/guides/operators/index.md b/docs/guides/operators/index.md index ee918207e3..8f6ada2f44 100644 --- a/docs/guides/operators/index.md +++ b/docs/guides/operators/index.md @@ -6,6 +6,7 @@ sidebar_position: 1 Tailcall DSL builds on your existing GraphQL knowledge by allowing the addition of some custom operators. These operators provide powerful compile time guarantees to make sure your API composition is tight and robust. The operator information is used to automatically generates highly optimized resolver logic for your types. # Composition + Operators can be composed and used together to create new and powerful transformations. This example illustrates the concept of composition in GraphQL, which allows you to combine multiple operations (known as "operators") to build more complex transformations of data. diff --git a/src/components/HomepageFeatures/index.tsx b/src/components/HomepageFeatures/index.tsx index de6e6eb77e..5b2742c1cc 100644 --- a/src/components/HomepageFeatures/index.tsx +++ b/src/components/HomepageFeatures/index.tsx @@ -79,7 +79,6 @@ export default function HomepageFeatures(): JSX.Element { const INITIAL = 3 return (
-
{FeatureList.slice(0, INITIAL).map((props, idx) => ( diff --git a/src/css/custom.css b/src/css/custom.css index 190aedb9c6..169bebeefc 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -150,4 +150,4 @@ blockquote::before { * { letter-spacing: -0.02em; -} \ No newline at end of file +}