docusaurus/website/sidebars.js
Sébastien Lorber 201c663318
feat(v2): allow nested sidebar category shorthand syntax (#2444)
* feat(v2): allow sidebar category shorthand syntax also for nested elements

* Update sidebars-category-shorthand.js

* Update sidebars-category-shorthand.js

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-03-26 00:59:51 +08:00

38 lines
867 B
JavaScript

/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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',
'resources',
],
'Getting Started': ['installation', 'configuration'],
Guides: [
'creating-pages',
'styling-layout',
'static-assets',
{
Docs: ['markdown-features', 'sidebar', 'versioning'],
},
'blog',
'search',
'deployment',
'migrating-from-v1-to-v2',
],
'Advanced Guides': ['using-plugins', 'using-themes', 'presets'],
'API Reference': [
'cli',
'docusaurus-core',
'docusaurus.config.js',
'lifecycle-apis',
'theme-classic',
],
},
};