From db0f16805c11852f069e81048fc74812d6904e71 Mon Sep 17 00:00:00 2001 From: Mikey O'Toole Date: Sat, 18 Nov 2023 11:18:05 +0000 Subject: [PATCH] Fix activeBaseRegEx and activeClassName for home link. --- docusaurus.config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 5e59f46..85e10bd 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -99,7 +99,9 @@ const config: Config = { { to: '/apollo-docs/', position: 'left', - label: 'Home' + label: 'Home', + activeClassName: 'navbar__link--active', + activeBaseRegex: '^(\/apollo-docs\/)$', }, { type: 'doc',