mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-20 12:37:01 +02:00
chore(v2): mention about docs home page in init templates (#2763)
* chore(v2): mention about docs home page in init templates * use home page id for docs Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
This commit is contained in:
parent
fc161b8455
commit
c7baa125e6
7 changed files with 19 additions and 13 deletions
|
@ -99,15 +99,15 @@ module.exports = {
|
|||
items: [
|
||||
{
|
||||
label: versions[0],
|
||||
to: 'docs/introduction',
|
||||
to: 'docs/',
|
||||
},
|
||||
...versions.slice(1).map((version) => ({
|
||||
label: version,
|
||||
to: `docs/${version}/introduction`,
|
||||
to: `docs/${version}/`,
|
||||
})),
|
||||
{
|
||||
label: 'Master/Unreleased',
|
||||
to: 'docs/next/introduction',
|
||||
to: 'docs/next/',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue