Skip to content

Commit eebccfa

Browse files
committed
fix: append slash in menubar links
Fixes an issue in which nested links were not applied to the current route as it did not end in slash. This lead to invalid links and 404 errors when following such links. See #305 for more information.
1 parent d92d300 commit eebccfa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docusaurus.config.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -42,27 +42,27 @@ module.exports = {
4242
position: 'left',
4343
},
4444
{
45-
to: 'docs',
45+
to: 'docs/',
4646
label: 'Docs',
4747
position: 'left',
4848
},
4949
{
50-
to: 'faq',
50+
to: 'faq/',
5151
label: 'FAQ',
5252
position: 'left',
5353
},
5454
{
55-
to: 'community',
55+
to: 'community/',
5656
label: 'Community',
5757
position: 'left'
5858
},
5959
{
60-
to: 'news',
60+
to: 'news/',
6161
label: 'News',
6262
position: 'left',
6363
},
6464
{
65-
to: 'support',
65+
to: 'support/',
6666
label: 'Professional Support',
6767
position: 'right',
6868
},

0 commit comments

Comments
 (0)