mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-02 03:37:48 +02:00
* Move sidebar content to its own page * Update website/docs/sidebar.md * Fix merge conflict * Fix note Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
93 lines
2.3 KiB
JavaScript
93 lines
2.3 KiB
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: [
|
|
{
|
|
type: 'category',
|
|
label: 'Docusaurus',
|
|
items: ['introduction', 'design-principles', 'contributing'],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: 'Getting Started',
|
|
collapsed: false,
|
|
items: ['installation', 'configuration', 'typescript-support'],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: 'Guides',
|
|
items: [
|
|
'guides/creating-pages',
|
|
'styling-layout',
|
|
'static-assets',
|
|
{
|
|
Docs: [
|
|
'docs-introduction',
|
|
'docs-sidebar',
|
|
'markdown-features',
|
|
'versioning',
|
|
],
|
|
},
|
|
'blog',
|
|
'search',
|
|
'deployment',
|
|
],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: 'Advanced Guides',
|
|
items: ['using-plugins', 'using-themes', 'presets'],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: 'Migrating from v1 to v2',
|
|
items: [
|
|
'migration/migration-overview',
|
|
'migration/migration-automated',
|
|
'migration/migration-manual',
|
|
'migration/migration-versioned-sites',
|
|
'migration/migration-translated-sites',
|
|
],
|
|
},
|
|
],
|
|
api: [
|
|
'cli',
|
|
'docusaurus-core',
|
|
'api/docusaurus.config.js',
|
|
'lifecycle-apis',
|
|
{
|
|
type: 'category',
|
|
label: 'Plugins',
|
|
items: [
|
|
'api/plugins/plugins-overview',
|
|
'api/plugins/plugin-content-docs',
|
|
'api/plugins/plugin-content-blog',
|
|
'api/plugins/plugin-content-pages',
|
|
'api/plugins/plugin-client-redirects',
|
|
'api/plugins/plugin-debug',
|
|
'api/plugins/plugin-google-analytics',
|
|
'api/plugins/plugin-google-gtag',
|
|
'api/plugins/plugin-ideal-image',
|
|
'api/plugins/plugin-pwa',
|
|
'api/plugins/plugin-sitemap',
|
|
],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: 'Themes',
|
|
items: [
|
|
'api/themes/themes-overview',
|
|
'api/themes/theme-configuration',
|
|
'api/themes/theme-classic',
|
|
'api/themes/theme-bootstrap',
|
|
'api/themes/theme-live-codeblock',
|
|
'api/themes/theme-search-algolia',
|
|
],
|
|
},
|
|
],
|
|
};
|