-
Notifications
You must be signed in to change notification settings - Fork 353
/
docusaurus.config.js
85 lines (85 loc) · 2.09 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
83
84
85
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",
favicon: "img/favicon.ico",
customFields: {
repoUrl: "https://github.com/ExpediaGroup/graphql-kotlin"
},
markdown: {
mermaid: true
},
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'throw',
onDuplicateRoutes: 'throw',
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
editUrl: "https://github.com/ExpediaGroup/graphql-kotlin/tree/master/website",
lastVersion: '8.x.x',
showLastUpdateAuthor: true,
showLastUpdateTime: true,
sidebarPath: require.resolve('./sidebars.js'),
versions: {
current: {
label: 'pre-release',
path: '9.x.x'
}
}
}
}
]
],
plugins: [],
scripts: [
"https://buttons.github.io/buttons.js"
],
themes: ['@docusaurus/theme-mermaid'],
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 © 2023 Expedia, Inc.",
logo: {
src: "img/Expedia-Group-Logo_E-Stacked.png"
}
},
algolia: {
appId: 'B2J35I9RRE',
apiKey: 'f040c6941342dc872146a008495313a2',
indexName: 'expediagroup-graphql-kotlin'
}
}
}