Skip to content

Commit f8a9a18

Browse files
authored
Merge pull request #136 from visto9259/3.9.x
Upgraded to Docusaurus 3.9 and React 19
2 parents 2976a4e + e6c6cae commit f8a9a18

File tree

3 files changed

+125
-135
lines changed

3 files changed

+125
-135
lines changed

docs/docusaurus.config.js

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ const config = {
2525
trailingSlash: false,
2626

2727
onBrokenLinks: 'throw',
28-
onBrokenMarkdownLinks: 'warn',
28+
29+
markdown: {
30+
hooks: {onBrokenMarkdownLinks: 'warn'},
31+
},
2932

3033
// Even if you don't use internationalization, you can use this field to set
3134
// useful metadata like html lang. For example, if your site is Chinese, you
@@ -53,6 +56,7 @@ const config = {
5356
// Remove this to remove the "edit this page" links.
5457
editUrl:
5558
'https://github.com/lm-commons/lmcuser/tree/master/docs/',
59+
onUntruncatedBlogPosts: 'ignore',
5660
},
5761
theme: {
5862
customCss: './src/css/custom.css',
@@ -95,21 +99,12 @@ themeConfig:
9599
footer: {
96100
style: 'dark',
97101
links: [
98-
{
99-
title: 'Docs',
100-
items: [
101-
{
102-
label: 'Documentation',
103-
to: '/docs/introduction',
104-
},
105-
],
106-
},
107102
{
108103
title: 'Community',
109104
items: [
110105
{
111-
label: 'Slack',
112-
href: 'https://join.slack.com/t/lm-commons/shared_invite/zt-2gankt2wj-FTS45hp1W~JEj1tWvDsUHQ',
106+
label: 'Discord',
107+
href: 'https://discord.gg/nAAu7AhR',
113108
},
114109
],
115110
},

docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"@mdx-js/react": "^3.0.0",
2020
"clsx": "^2.0.0",
2121
"prism-react-renderer": "^2.3.0",
22-
"react": "^18.0.0",
23-
"react-dom": "^18.0.0"
22+
"react": "^19.0.0",
23+
"react-dom": "^19.0.0"
2424
},
2525
"devDependencies": {
2626
"@docusaurus/module-type-aliases": "3.9.2",

0 commit comments

Comments
 (0)