docusaurus/website/docusaurus.config.js
2019-04-23 23:16:48 +08:00

52 lines
1.2 KiB
JavaScript

/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
module.exports = {
title: 'Docusaurus',
tagline: '⚡️ Painless static site generator',
organizationName: 'facebook',
projectName: 'docusaurus',
baseUrl: '/',
url: 'https://docusaurus-2.netlify.com',
headerLinks: [
{doc: 'installation', label: 'Docs'},
{page: 'youtube', label: 'Youtube'},
{blog: true, label: 'Blog'},
{
href: 'https://github.com/facebook/docusaurus',
label: 'GitHub',
},
],
headerIcon: 'img/docusaurus.svg',
favicon: 'img/docusaurus.ico',
algolia: {
apiKey: '47ecd3b21be71c5822571b9f59e52544',
indexName: 'docusaurus-2',
algoliaOptions: {},
},
plugins: [
{
name: '@docusaurus/plugin-content-docs',
options: {
path: '../docs',
sidebarPath: require.resolve('./sidebars.json'),
},
},
{
name: '@docusaurus/plugin-content-blog',
options: {
path: '../website-1.x/blog',
},
},
{
name: '@docusaurus/plugin-content-pages',
},
{
name: '@docusaurus/plugin-sitemap',
},
],
};