mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-24 21:48:02 +02:00
chore(v2): add tbd v2 docs (#1408)
* docs(v2): docusaurus 2 own docs * misc(v2): try to get multiple sidebar working * misc(v2): tweak CSS * fix(v2): fix conflicting docsMetadata
This commit is contained in:
parent
9c27884823
commit
528bd7f280
7 changed files with 76 additions and 26 deletions
|
@ -13,7 +13,8 @@ module.exports = {
|
|||
baseUrl: '/',
|
||||
url: 'https://docusaurus-2.netlify.com',
|
||||
headerLinks: [
|
||||
{url: 'docs/installation', label: 'Docs'},
|
||||
{url: 'docs-legacy/installation', label: 'Docs V1'},
|
||||
{url: 'docs/introduction', label: 'Docs'},
|
||||
{url: 'blog', label: 'Blog'},
|
||||
{url: 'feedback/', label: 'Feedback'},
|
||||
],
|
||||
|
@ -29,7 +30,7 @@ module.exports = {
|
|||
'@docusaurus/preset-classic',
|
||||
{
|
||||
docs: {
|
||||
path: '../docs',
|
||||
path: 'docs',
|
||||
sidebarPath: require.resolve('./sidebars.json'),
|
||||
},
|
||||
blog: {
|
||||
|
@ -38,4 +39,14 @@ module.exports = {
|
|||
},
|
||||
],
|
||||
],
|
||||
plugins: [
|
||||
{
|
||||
name: '@docusaurus/plugin-content-docs',
|
||||
options: {
|
||||
path: '../docs',
|
||||
routeBasePath: 'docs-legacy',
|
||||
sidebarPath: require.resolve('./sidebars-legacy.json'),
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue