Skip to content

Commit 6e63501

Browse files
authored
Merge pull request #399 from thomas-dkmt/doc-upgrade-docusaurus-3.9
docs: upgrade docusaurus from version 3.8 to 3.9
2 parents fcec4ea + 414d97d commit 6e63501

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

docusaurus.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,13 @@ const config = {
1111
url: 'https://docs.xcp-ng.org',
1212
baseUrl: '/',
1313
onBrokenLinks: 'throw',
14-
onBrokenMarkdownLinks: 'warn',
1514
favicon: 'img/xcpcrop128.png',
1615
trailingSlash: true,
16+
markdown: {
17+
hooks: {
18+
onBrokenMarkdownLinks: 'warn',
19+
},
20+
},
1721

1822
// GitHub pages deployment config.
1923
// If you aren't using GitHub pages, you don't need these.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@
1414
"write-heading-ids": "docusaurus write-heading-ids"
1515
},
1616
"dependencies": {
17-
"@docusaurus/core": "^3.7.0",
18-
"@docusaurus/preset-classic": "^3.7.0",
19-
"@docusaurus/theme-mermaid": "^3.7.0",
17+
"@docusaurus/core": "^3.9.2",
18+
"@docusaurus/preset-classic": "^3.9.2",
19+
"@docusaurus/theme-mermaid": "^3.9.2",
2020
"@mdx-js/react": "^3.0.0",
2121
"docusaurus-lunr-search": "^3.6.0",
2222
"prism-react-renderer": "^2.1.0",
2323
"react": "^18.2.0",
2424
"react-dom": "^18.2.0"
2525
},
2626
"devDependencies": {
27-
"@docusaurus/module-type-aliases": "^3.7.0",
28-
"@docusaurus/types": "^3.7.0"
27+
"@docusaurus/module-type-aliases": "^3.9.2",
28+
"@docusaurus/types": "^3.9.2"
2929
},
3030
"browserslist": {
3131
"production": [

0 commit comments

Comments
 (0)