docs(v2): nav links activeBasePath (#2303)

* docs(v2): Nav links activeBasePath

* rename activeBaseRoute to activeBasePath

* fixes
This commit is contained in:
Yangshun Tay 2020-02-21 09:44:14 +08:00 committed by GitHub
parent c46bf90f60
commit 787b073bb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 35 additions and 25 deletions

View file

@ -23,7 +23,12 @@ module.exports = {
src: 'img/logo.svg',
},
links: [
{to: 'docs/doc1', label: 'Docs', position: 'left'},
{
to: 'docs/doc1',
activeBasePath: 'docs',
label: 'Docs',
position: 'left',
},
{to: 'blog', label: 'Blog', position: 'left'},
// Please keep GitHub link to the right for consistency.
{