mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-01 11:18:24 +02:00
* refactor(v2): blog data revamp * fix(v2): fix incorrect blog total count * misc: remove console.log * feat(v2): export frontMatter as an object within MDX file (#1451) * refactor. Don't confuse metadata & frontmatter * export frontMatter in content itself * nits * nits name * dont truncate first four lines in blog
44 lines
1 KiB
JavaScript
44 lines
1 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',
|
|
headerIcon: 'img/docusaurus.svg',
|
|
favicon: 'img/docusaurus.ico',
|
|
themeConfig: {
|
|
algolia: {
|
|
apiKey: '47ecd3b21be71c5822571b9f59e52544',
|
|
indexName: 'docusaurus-2',
|
|
algoliaOptions: {},
|
|
},
|
|
headerLinks: [
|
|
{url: 'docs/introduction', label: 'Docs'},
|
|
{url: 'blog', label: 'Blog'},
|
|
{url: 'feedback/', label: 'Feedback'},
|
|
],
|
|
},
|
|
presets: [
|
|
[
|
|
'@docusaurus/preset-classic',
|
|
{
|
|
docs: {
|
|
path: 'docs',
|
|
sidebarPath: require.resolve('./sidebars.js'),
|
|
},
|
|
blog: {
|
|
path: '../website-1.x/blog',
|
|
postsPerPage: 3,
|
|
},
|
|
},
|
|
],
|
|
],
|
|
};
|