Skip to content

Commit

Permalink
Split up in v16 API documentation (graphql#4295)
Browse files Browse the repository at this point in the history
CC @dimaMachina

Is it possible for the sidebar on `api-v16` to restart? currently it
inherits the root one
  • Loading branch information
JoviDeCroock authored and yaacovCR committed Nov 26, 2024
1 parent e68cd2f commit 3496a9b
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 12 deletions.
2 changes: 1 addition & 1 deletion website/css/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ div[id^='headlessui-menu-items'] {
@apply justify-start;

> a {
@apply first:mr-0 hover:!text-primary;
@apply hover:!text-primary;
}

button[id^='headlessui-menu-button'] {
Expand Down
20 changes: 9 additions & 11 deletions website/pages/_meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,16 @@ const meta = {
title: 'FAQ',
},
'going-to-production': '',
'-- 4': {
type: 'separator',
title: 'API Reference',
'api-v16': {
type: 'menu',
title: 'API',
items: {
2: {
title: 'V16',
href: '/api-v16/graphql',
},
},
},
graphql: '',
error: '',
execution: '',
language: '',
type: '',
utilities: '',
validation: '',
'graphql-http': '',
};

export default meta;
12 changes: 12 additions & 0 deletions website/pages/api-v16/_meta.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
const meta = {
graphql: '',
error: '',
execution: '',
language: '',
type: '',
utilities: '',
validation: '',
'graphql-http': '',
};

export default meta;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3496a9b

Please sign in to comment.