Skip to content

Commit ef5baa3

Browse files
committed
fix: fixed the deprecated warning for onBrokenMarkdownLinks and replace with v4 based onBrokenMarkdownLinks
Signed-off-by: Saket Maurya <mauryapriyadarshi2004@gmail.com>
1 parent 4a94f32 commit ef5baa3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

docusaurus.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ module.exports = {
1313
url: "https://keploy.io",
1414
baseUrl: "/docs/",
1515
onBrokenLinks: "throw",
16+
markdown: {
17+
hooks: {
18+
onBrokenMarkdownLinks: 'warn',
19+
},
20+
},
21+
// onBrokenMarkdownLinks: "warn",
1622
trailingSlash: true,
1723
favicon: "img/favicon.png",
1824
organizationName: "keploy", // Usually your GitHub org/user name.

0 commit comments

Comments
 (0)