docusaurus/website/sidebars.js
Endi 64871b76e4 fix(v2): custom searchbar should appear even if themeconfig.algolia is undefined (#1909)
* fix(v2): custom searchbar should appear even if themeconfig.algolia is undefined

* nits

* Docs docs

* inaccuracy

* changelog

* nits
2019-10-30 08:51:53 +08:00

48 lines
1.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 = {
docs: {
Docusaurus: ['introduction', 'design-principles', 'contributing'],
'Getting Started': ['installation', 'configuration'],
Guides: [
'creating-pages',
'styling-layout',
'static-assets',
{
type: 'category',
label: 'Docs',
items: ['markdown-features', 'sidebar'],
},
'blog',
'analytics',
'seo',
'search',
'deployment',
'migrating-from-v1-to-v2',
],
'Advanced Guides': [
{
type: 'category',
label: 'Plugins',
items: ['using-plugins', 'advanced-plugins'],
},
{
type: 'category',
label: 'Themes',
items: ['using-themes', 'advanced-themes', 'theme-classic'],
},
'presets',
],
'API Reference': [
'cli',
'docusaurus-core',
'docusaurus.config.js',
'lifecycle-apis',
],
},
};