Skip to content

Commit 317ab6a

Browse files
committed
fix sidebar instability
when navigating to https://www.graphql-js.org/api-v16/graphql/ using the top menu bar, the sidebar content expands with the individual mdx files from the api-v16 folder, as if the api/v16 option had been in the sidebar in the first place. This PR adds the API/v16 to the sidebar (in addition to the placement within the menu bar) to avoid this instability.
1 parent 0c164d3 commit 317ab6a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

website/pages/_meta.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,16 @@ const meta = {
2020
'oneof-input-objects': 'OneOf input objects',
2121
'defer-stream': '',
2222
'-- 3': {
23+
type: 'separator',
24+
title: 'API',
25+
},
26+
'api-v16': 'v16',
27+
'-- 4': {
2328
type: 'separator',
2429
title: 'FAQ',
2530
},
2631
'going-to-production': '',
27-
'api-v16': {
32+
'api-menu': {
2833
type: 'menu',
2934
title: 'API',
3035
items: {

0 commit comments

Comments
 (0)