mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-11 16:17:25 +02:00
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:
parent
c33e874e1c
commit
a70d9b6720
32 changed files with 576 additions and 371 deletions
|
@ -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: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue