Skip to content

Commit

Permalink
Init new pages
Browse files Browse the repository at this point in the history
  • Loading branch information
kitten committed Jan 24, 2024
1 parent ff146c0 commit 46dbd64
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
15 changes: 11 additions & 4 deletions website/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,19 @@ export default defineConfig({
},
],
},
/*
{
label: 'Guides',
autogenerate: { directory: 'guides' },
label: 'Guides',
items: [
{
label: 'Typed Documents',
link: '/guides/typed-documents/',
},
{
label: 'Fragment Colocation',
link: '/guides/fragment-colocation/',
},
],
},
*/
{
label: 'Reference',
autogenerate: {
Expand Down
4 changes: 4 additions & 0 deletions website/src/content/docs/guides/fragment-colocation.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: Fragment Colocation
description: How GraphQL fragments are effectively used in componentized apps.
---
4 changes: 4 additions & 0 deletions website/src/content/docs/guides/typed-documents.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: Typed Documents
description: How GraphQL documents and TypeScript come together
---

0 comments on commit 46dbd64

Please sign in to comment.