feat(v2): docs plugin initial work (#1327)

* feat(v2): pluginify docs

* feat(v2): implement docs plugin

* fix(v2): fix bugs in docs plugin for translation and versioning
This commit is contained in:
Yangshun Tay 2019-03-31 11:37:35 -07:00 committed by GitHub
parent c33e874e1c
commit a70d9b6720
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 576 additions and 371 deletions

View file

@ -11,7 +11,6 @@ module.exports = {
organizationName: 'facebook',
projectName: 'docusaurus',
baseUrl: '/',
customDocsPath: './docs',
url: 'https://docusaurus.io',
headerLinks: [
{doc: 'installation', label: 'Docs'},
@ -30,6 +29,12 @@ module.exports = {
algoliaOptions: {},
},
plugins: [
{
name: '@docusaurus/plugin-content-docs',
options: {
path: '../docs',
},
},
{
name: '@docusaurus/plugin-content-blog',
options: {