Skip to content

Commit

Permalink
Fix activeBaseRegEx and activeClassName for home link.
Browse files Browse the repository at this point in the history
  • Loading branch information
homotechsual committed Nov 18, 2023
1 parent dac90de commit db0f168
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit db0f168

Please sign in to comment.