mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-02 02:42:41 +02:00
docs(v2): nav links activeBasePath (#2303)
* docs(v2): Nav links activeBasePath * rename activeBaseRoute to activeBasePath * fixes
This commit is contained in:
parent
c46bf90f60
commit
787b073bb7
7 changed files with 35 additions and 25 deletions
|
@ -14,7 +14,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'},
|
||||
{
|
||||
href: 'https://github.com/facebook/docusaurus',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue