mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-30 18:58:36 +02:00
* add some initial i18n doc * i18n doc progress * i18n tutorial progress * i18n tutorial progress * polish Crowdin docs * i18n sidebar in guides * polish crowdin doc * update Crowdin doc a bit * fix annoying relative link to global site resource in template (breaks i18n tutorial) * template: use simpler export for homepage * add markdown page example * rename mdx.md to interactiveDoc.mdx * update bootstrap/facebook templates too * sync init template package scripts * add slug frontmatter doc * improve i18n doc * complete i18n doc * temporarily enable the localeDropdown * doc typo * improve the i18n doc * Add Git i18n doc * add missing "--" for npm run options (unfortunately they don't get stripped by npm2yarn, and are required foor npm) * improve a bit the Crowdin doc
119 lines
3.1 KiB
JavaScript
119 lines
3.1 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',
|
|
{
|
|
Docs: [
|
|
'guides/docs/introduction',
|
|
'guides/docs/create-doc',
|
|
'guides/docs/sidebar',
|
|
'guides/docs/versioning',
|
|
'guides/docs/markdown-features',
|
|
'guides/docs/multi-instance',
|
|
],
|
|
},
|
|
'blog',
|
|
{
|
|
type: 'category',
|
|
label: 'Markdown Features',
|
|
items: [
|
|
'guides/markdown-features/introduction',
|
|
'guides/markdown-features/react',
|
|
'guides/markdown-features/tabs',
|
|
'guides/markdown-features/code-blocks',
|
|
'guides/markdown-features/admonitions',
|
|
'guides/markdown-features/inline-toc',
|
|
'guides/markdown-features/assets',
|
|
'guides/markdown-features/plugins',
|
|
],
|
|
},
|
|
'styling-layout',
|
|
'static-assets',
|
|
'search',
|
|
'deployment',
|
|
{
|
|
type: 'category',
|
|
label: 'Internationalization',
|
|
items: [
|
|
'i18n/introduction',
|
|
'i18n/tutorial',
|
|
'i18n/git',
|
|
'i18n/crowdin',
|
|
],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
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',
|
|
],
|
|
},
|
|
],
|
|
};
|