Skip to content

Commit c079ae3

Browse files
authored
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 273fc84 commit c079ae3

11 files changed

+22
-12
lines changed

website/css/globals.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ div[id^='headlessui-menu-items'] {
8282
@apply justify-start;
8383

8484
> a {
85-
@apply first:mr-0 hover:!text-primary;
85+
@apply hover:!text-primary;
8686
}
8787

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

website/pages/_meta.ts

+9-11
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

+12
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)