docs(v2): add docs skeleton and structure (#1412)

* docs(v2): add docs skeleton and structure

* docs(v2): add on

* docs(v2): move motivation into contributing
This commit is contained in:
Yangshun Tay 2019-04-28 20:20:24 -07:00 committed by GitHub
parent f34d6ec4cb
commit 5d6dc49bcd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
35 changed files with 443 additions and 63 deletions

View file

@ -13,7 +13,6 @@ module.exports = {
baseUrl: '/',
url: 'https://docusaurus-2.netlify.com',
headerLinks: [
{url: 'docs-legacy/installation', label: 'Docs V1'},
{url: 'docs/introduction', label: 'Docs'},
{url: 'blog', label: 'Blog'},
{url: 'feedback/', label: 'Feedback'},
@ -31,7 +30,7 @@ module.exports = {
{
docs: {
path: 'docs',
sidebarPath: require.resolve('./sidebars.json'),
sidebarPath: require.resolve('./sidebars.js'),
},
blog: {
path: '../website-1.x/blog',
@ -39,14 +38,4 @@ module.exports = {
},
],
],
plugins: [
{
name: '@docusaurus/plugin-content-docs',
options: {
path: '../docs',
routeBasePath: 'docs-legacy',
sidebarPath: require.resolve('./sidebars-legacy.json'),
},
},
],
};