Skip to content

Commit 392c03c

Browse files
committed
Block page building with broken links
1 parent bfbd1bc commit 392c03c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docusaurus/docusaurus.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ const config = {
1010
tagline: 'Design APIs fast, manage content easily.',
1111
url: 'https://docs.strapi.io/',
1212
baseUrl: '/',
13-
onBrokenLinks: 'warn', // replace with 'throw' to stop building if broken links
14-
onBrokenMarkdownLinks: 'warn',
13+
onBrokenLinks: 'throw', // replace with 'throw' to stop building if broken links
14+
onBrokenMarkdownLinks: 'throw',
1515
favicon: 'https://strapi.io/assets/favicon-32x32.png',
1616

1717
// GitHub pages deployment config.

0 commit comments

Comments
 (0)