-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
117 lines (117 loc) · 4.28 KB
/
gatsby-config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
module.exports = {
siteMetadata: {
title: `Gatsby Docs Starter`,
description: `A documentation starter`,
author: `@prvnbist`,
menu: [
{ title: 'Introduction', link: '/docs/introduction' },
{
title: 'File',
children: [
{ title: 'Create File', link: '/docs/file/create' },
{ title: 'Delete File', link: '/docs/file/delete' },
{ title: 'Update File', link: '/docs/file/update' },
{ title: 'Read File', link: '/docs/file/read' },
{ title: 'Rename File', link: '/docs/file/rename' }
]
},
{
title: 'Folder',
children: [
{ title: 'Create Folder', link: '/docs/folder/create' },
{ title: 'Delete Folder', link: '/docs/folder/delete' },
{ title: 'Rename Folder', link: '/docs/folder/rename' }
]
},
{
title: 'Git',
children: [
{ title: 'Add and Commit', link: '/docs/git/add-and-commit' },
{
title: 'Remove and Commit',
link: '/docs/git/remove-and-commit'
}
]
},
{
title: 'Types',
children: [
{ title: 'File', link: '/docs/types/file' },
{ title: 'Folder', link: '/docs/types/folder' },
{
title: 'Folder with Files',
link: '/docs/types/folder-with-files'
},
{ title: 'Success', link: '/docs/types/success' },
{ title: 'Error', link: '/docs/types/error' },
{ title: 'Result', link: '/docs/types/result' },
{ title: 'Subscription', link: '/docs/types/subscription' },
{ title: 'Author', link: '/docs/types/author' },
{ title: 'Commit', link: '/docs/types/commit' },
{ title: 'Committer', link: '/docs/types/committer' }
]
},
{
title: 'Queries',
children: [
{ title: 'Get Commit', link: '/docs/queries/get-commit' },
{
title: 'Get Commit Content',
link: '/docs/queries/get-commit-content'
},
{
title: 'Get Commit Log',
link: '/docs/queries/get-commit-log'
},
{ title: 'Get Commits', link: '/docs/queries/get-commits' },
{ title: 'Get File', link: '/docs/queries/get-file' },
{ title: 'Get Files', link: '/docs/queries/get-files' },
{
title: 'Get Folder with Files',
link: '/docs/queries/get-folder-with-files'
},
{
title: 'Get Nested Folders',
link: '/docs/queries/get-nested-folders'
},
{ title: 'Open File', link: '/docs/queries/open-file' }
]
},
{
title: 'Mutations',
children: [
{ title: 'Create File', link: '/docs/mutations/create-file' },
{ title: 'Delete File', link: '/docs/mutations/delete-file' },
{ title: 'Draft File', link: '/docs/mutations/draft-file' },
{ title: 'Rename File', link: '/docs/mutations/rename-file' },
{ title: 'Update File', link: '/docs/mutations/update-file' },
{
title: 'Create Folder',
link: '/docs/mutations/create-folder'
},
{
title: 'Rename Folder',
link: '/docs/mutations/rename-folder'
},
{
title: 'Delete Folder',
link: '/docs/mutations/delete-folder'
},
{ title: 'Image Upload', link: '/docs/mutations/image-upload' },
{ title: 'Install App', link: '/docs/mutations/install-app' }
]
}
]
},
plugins: [
`gatsby-plugin-styled-components`,
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'docs',
path: `${__dirname}/src/docs`
}
},
`gatsby-plugin-mdx`
]
}