Skip to content

Commit 737eb97

Browse files
committed
[PM-34951] migrate deprecated onBrokenMarkdownLinks
Signed-off-by: Ben Brooks <bbrooks@bitwarden.com>
1 parent bd9a601 commit 737eb97

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

docusaurus.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ async function createConfig() {
1212
url: "https://contributing.bitwarden.com",
1313
baseUrl: "/",
1414
onBrokenLinks: "throw",
15-
onBrokenMarkdownLinks: "warn",
1615
favicon: "img/favicon.png",
1716

1817
// Even if you don't use internalization, you can use this field to set useful
@@ -23,6 +22,12 @@ async function createConfig() {
2322
locales: ["en"],
2423
},
2524

25+
markdown: {
26+
hooks: {
27+
onBrokenMarkdownLinks: "warn",
28+
},
29+
},
30+
2631
plugins: [require.resolve("docusaurus-lunr-search")],
2732

2833
presets: [

0 commit comments

Comments
 (0)