forked from ExpediaGroup/graphql-kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docusaurus.config.js
82 lines (82 loc) · 2.07 KB
/
docusaurus.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
module.exports = {
title: "GraphQL Kotlin",
tagline: "Libraries for running a GraphQL server in Kotlin",
url: "https://expediagroup.github.io",
baseUrl: "/graphql-kotlin/",
organizationName: "ExpediaGroup",
projectName: "graphql-kotlin",
scripts: [
"https://buttons.github.io/buttons.js"
],
favicon: "img/favicon.ico",
customFields: {
repoUrl: "https://github.com/ExpediaGroup/graphql-kotlin"
},
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'throw',
onDuplicateRoutes: 'throw',
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
editUrl: "https://github.com/ExpediaGroup/graphql-kotlin/tree/master/website",
lastVersion: '6.x.x',
remarkPlugins: [require('mdx-mermaid')],
showLastUpdateAuthor: true,
showLastUpdateTime: true,
sidebarPath: require.resolve('./sidebars.js'),
versions: {
current: {
label: 'pre-release',
path: '7.x.x'
}
}
}
}
]
],
plugins: [],
themeConfig: {
image: "img/undraw_online.svg",
colorMode: {
defaultMode: 'dark',
},
prism: {
defaultLanguage: 'kotlin',
additionalLanguages: ['kotlin', 'groovy'],
theme: require('prism-react-renderer/themes/github'),
darkTheme: require('prism-react-renderer/themes/dracula')
},
navbar: {
title: "GraphQL Kotlin",
logo: {
src: "img/EG_Icon_White_on_Blue.png",
href: "/docs"
},
items: [
{
href: "https://github.com/ExpediaGroup/graphql-kotlin",
label: "GitHub",
position: "right"
},
{
type: 'docsVersionDropdown',
position: 'right'
}
]
},
footer: {
links: [],
copyright: "Copyright © 2022 Expedia, Inc.",
logo: {
src: "img/Expedia-Group-Logo_E-Stacked.png"
}
},
algolia: {
appId: 'B2J35I9RRE',
apiKey: 'f040c6941342dc872146a008495313a2',
indexName: 'expediagroup-graphql-kotlin'
}
}
}