Skip to content

Commit e64e80f

Browse files
authored
chore: update docusaurus to latest (#1836)
1 parent 1fbcb8f commit e64e80f

File tree

4 files changed

+2918
-12746
lines changed

4 files changed

+2918
-12746
lines changed

website/.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
17
1+
18

website/docusaurus.config.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ module.exports = {
55
baseUrl: "/graphql-kotlin/",
66
organizationName: "ExpediaGroup",
77
projectName: "graphql-kotlin",
8-
scripts: [
9-
"https://buttons.github.io/buttons.js"
10-
],
118
favicon: "img/favicon.ico",
129
customFields: {
1310
repoUrl: "https://github.com/ExpediaGroup/graphql-kotlin"
1411
},
12+
markdown: {
13+
mermaid: true
14+
},
1515
onBrokenLinks: 'throw',
1616
onBrokenMarkdownLinks: 'throw',
1717
onDuplicateRoutes: 'throw',
@@ -22,7 +22,6 @@ module.exports = {
2222
docs: {
2323
editUrl: "https://github.com/ExpediaGroup/graphql-kotlin/tree/master/website",
2424
lastVersion: '6.x.x',
25-
remarkPlugins: [require('mdx-mermaid')],
2625
showLastUpdateAuthor: true,
2726
showLastUpdateTime: true,
2827
sidebarPath: require.resolve('./sidebars.js'),
@@ -37,6 +36,10 @@ module.exports = {
3736
]
3837
],
3938
plugins: [],
39+
scripts: [
40+
"https://buttons.github.io/buttons.js"
41+
],
42+
themes: ['@docusaurus/theme-mermaid'],
4043
themeConfig: {
4144
image: "img/undraw_online.svg",
4245
colorMode: {

0 commit comments

Comments
 (0)