Skip to content

Commit 7b9e541

Browse files
JoviDeCroockyaacovCR
authored andcommitted
Split up in v16 API documentation (#4295)
CC @dimaMachina Is it possible for the sidebar on `api-v16` to restart? currently it inherits the root one
1 parent cdd586e commit 7b9e541

11 files changed

+22
-12
lines changed

website/css/globals.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ div[id^='headlessui-menu-items'] {
8484
@apply justify-start;
8585

8686
> a {
87-
@apply first:mr-0 hover:!text-primary;
87+
@apply hover:!text-primary;
8888
}
8989

9090
button[id^='headlessui-menu-button'] {

website/pages/_meta.ts

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,16 @@ const meta = {
2424
title: 'FAQ',
2525
},
2626
'going-to-production': '',
27-
'-- 4': {
28-
type: 'separator',
29-
title: 'API Reference',
27+
'api-v16': {
28+
type: 'menu',
29+
title: 'API',
30+
items: {
31+
2: {
32+
title: 'V16',
33+
href: '/api-v16/graphql',
34+
},
35+
},
3036
},
31-
graphql: '',
32-
error: '',
33-
execution: '',
34-
language: '',
35-
type: '',
36-
utilities: '',
37-
validation: '',
38-
'graphql-http': '',
3937
};
4038

4139
export default meta;

website/pages/api-v16/_meta.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
const meta = {
2+
graphql: '',
3+
error: '',
4+
execution: '',
5+
language: '',
6+
type: '',
7+
utilities: '',
8+
validation: '',
9+
'graphql-http': '',
10+
};
11+
12+
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.

0 commit comments

Comments
 (0)