Skip to content

Commit

Permalink
fix: append slash in menubar links
Browse files Browse the repository at this point in the history
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 eclipsesource#305 for more information.
  • Loading branch information
sdirix committed Jan 13, 2025
1 parent 34f8ea2 commit ce2ae42
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,27 +42,27 @@ module.exports = {
position: 'left',
},
{
to: 'docs',
to: 'docs/',
label: 'Docs',
position: 'left',
},
{
to: 'faq',
to: 'faq/',
label: 'FAQ',
position: 'left',
},
{
to: 'community',
to: 'community/',
label: 'Community',
position: 'left'
},
{
to: 'news',
to: 'news/',
label: 'News',
position: 'left',
},
{
to: 'support',
to: 'support/',
label: 'Professional Support',
position: 'right',
},
Expand Down

0 comments on commit ce2ae42

Please sign in to comment.