mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-01 02:12:36 +02:00
docs(v2): add link to master docs (#2506)
This commit is contained in:
parent
f51b56460e
commit
2a2824e976
1 changed files with 6 additions and 3 deletions
|
@ -98,12 +98,15 @@ module.exports = {
|
||||||
label: versions[0],
|
label: versions[0],
|
||||||
to: 'docs/introduction',
|
to: 'docs/introduction',
|
||||||
},
|
},
|
||||||
].concat(
|
...versions.slice(1).map(version => ({
|
||||||
versions.slice(1).map(version => ({
|
|
||||||
label: version,
|
label: version,
|
||||||
to: `docs/${version}/introduction`,
|
to: `docs/${version}/introduction`,
|
||||||
})),
|
})),
|
||||||
),
|
{
|
||||||
|
label: 'Master/Unreleased',
|
||||||
|
to: 'docs/next/introduction',
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{to: 'blog', label: 'Blog', position: 'left'},
|
{to: 'blog', label: 'Blog', position: 'left'},
|
||||||
{to: 'showcase', label: 'Showcase', position: 'left'},
|
{to: 'showcase', label: 'Showcase', position: 'left'},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue