Skip to content

Commit 5d94640

Browse files
committed
fix sidebar
1 parent 0c164d3 commit 5d94640

25 files changed

+174
-27
lines changed

.idea/.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/graphql-js.iml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 86 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/prettier.xml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/next.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import nextra from 'nextra';
22
import path from 'node:path';
3+
import vercel from './vercel.json' with { type: 'json' }
34

45
const withNextra = nextra({
56
theme: 'nextra-theme-docs',
@@ -27,6 +28,7 @@ export default withNextra({
2728
});
2829
return config;
2930
},
31+
redirects: async () => vercel.redirects,
3032
output: 'export',
3133
images: {
3234
loader: 'custom',

website/pages/_meta.ts

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,8 @@
11
const meta = {
2-
index: '',
3-
'-- 1': {
4-
type: 'separator',
5-
title: 'GraphQL.JS Tutorial',
2+
docs: {
3+
type: 'page',
4+
title: 'Documentation'
65
},
7-
'getting-started': '',
8-
'running-an-express-graphql-server': '',
9-
'graphql-clients': '',
10-
'basic-types': '',
11-
'passing-arguments': '',
12-
'object-types': '',
13-
'mutations-and-input-types': '',
14-
'authentication-and-express-middleware': '',
15-
'-- 2': {
16-
type: 'separator',
17-
title: 'Advanced Guides',
18-
},
19-
'constructing-types': '',
20-
'oneof-input-objects': 'OneOf input objects',
21-
'defer-stream': '',
22-
'-- 3': {
23-
type: 'separator',
24-
title: 'FAQ',
25-
},
26-
'going-to-production': '',
276
'api-v16': {
287
type: 'menu',
298
title: 'API',

website/pages/docs/_meta.ts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
const meta = {
2+
index: '',
3+
'-- 1': {
4+
type: 'separator',
5+
title: 'GraphQL.JS Tutorial',
6+
},
7+
'getting-started': '',
8+
'running-an-express-graphql-server': '',
9+
'graphql-clients': '',
10+
'basic-types': '',
11+
'passing-arguments': '',
12+
'object-types': '',
13+
'mutations-and-input-types': '',
14+
'authentication-and-express-middleware': '',
15+
'-- 2': {
16+
type: 'separator',
17+
title: 'Advanced Guides',
18+
},
19+
'constructing-types': '',
20+
'oneof-input-objects': '',
21+
'defer-stream': '',
22+
'-- 3': {
23+
type: 'separator',
24+
title: 'FAQ',
25+
},
26+
'going-to-production': '',
27+
};
28+
29+
export default meta;

0 commit comments

Comments
 (0)