Skip to content

Commit 57fb4f3

Browse files
committed
fix: fixed docusaurus handling of broken links
Signed-off-by: Ansh Sarkar <anshsark18@gmail.com>
1 parent 6ca53ff commit 57fb4f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/docusaurus.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const config = {
1111
url: 'https://workflow.github.io',
1212
trailingSlash: false,
1313
baseUrl: '/docs/',
14-
onBrokenLinks: 'throw',
14+
onBrokenLinks: 'warn',
1515
onBrokenMarkdownLinks: 'warn',
1616
favicon: 'img/favicon.ico',
1717

@@ -88,7 +88,7 @@ const config = {
8888
items: [
8989
{
9090
label: 'Tutorial',
91-
to: '/docs/intro',
91+
to: '/docs/',
9292
},
9393
],
9494
},
@@ -114,7 +114,7 @@ const config = {
114114
items: [
115115
{
116116
label: 'Blog',
117-
to: '/blog',
117+
to: '/docs',
118118
},
119119
{
120120
label: 'GitHub',

0 commit comments

Comments
 (0)