Skip to content

Commit 2e66a59

Browse files
authored
Bump docusaurus to v3.9.1 (#326)
This change bumps the version of `docusaurus` from v3.8.1 to v3.9.1. There are no new features or bug fixes that need to be accounted for. The changes were tested locally by successfully building and serving the site. Changelogs for the versions included in this upgrade: * [v3.9.0](https://github.com/facebook/docusaurus/releases/tag/v3.9.0) * [v3.9.1](https://github.com/facebook/docusaurus/releases/tag/v3.9.1) The next major version of Docusaurus (v4) is coming and the config setting `siteConfig.onBrokenMarkdownLinks` will be removed in favor of `siteConfig.markdown.hooks.onBrokenMarkdownLinks`. The change was made now since it was deprecated in this upgrade. Additionally, a new setting for `siteConfig.markdown.hooks.onBrokenMarkdownImages` was introduced and adopted here.
1 parent f2b8164 commit 2e66a59

File tree

3 files changed

+981
-587
lines changed

3 files changed

+981
-587
lines changed

site/docusaurus.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ const config = {
2323

2424
onBrokenLinks: 'throw',
2525
onBrokenAnchors: 'throw',
26-
onBrokenMarkdownLinks: 'throw',
2726
onDuplicateRoutes: 'throw',
2827

2928
future: {
@@ -182,6 +181,10 @@ const config = {
182181
admonitions: false,
183182
headingIds: false,
184183
},
184+
hooks: {
185+
onBrokenMarkdownLinks: 'throw',
186+
onBrokenMarkdownImages: 'throw',
187+
},
185188
},
186189

187190
plugins: [

0 commit comments

Comments
 (0)