Proper active link match for 'Developer Reference' in docs (#19254)

This commit is contained in:
Pascal Jufer
2023-07-26 22:21:24 +02:00
committed by GitHub
parent 00f328994b
commit cae8c72097

View File

@@ -131,7 +131,12 @@ gtag('config', 'UA-24637628-7');
dark: '/logo-dark.svg',
},
nav: [
{ text: 'Developer Reference', link: '/getting-started/quickstart' },
{
text: 'Developer Reference',
link: '/getting-started/quickstart',
// Active on every path except for '/', '/user-guide', '/packages'
activeMatch: '^\\/(?!$|user-guide|packages).*',
},
{
text: 'User Guide',
link: '/user-guide/overview/data-studio-app',