From eebccfa0081ceb365978531a251d6a1ba72cf956 Mon Sep 17 00:00:00 2001 From: Stefan Dirix Date: Fri, 10 Jan 2025 13:33:01 +0100 Subject: [PATCH] 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. --- docusaurus.config.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 3e3a0256..c1d4ad6c 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -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', },