mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 00:39:45 +02:00
docs: make API sidebar partially autogenerated (#5917)
* docs: make API sidebar autogenerated * fix paths
This commit is contained in:
parent
c541e2d83c
commit
4478dd9659
24 changed files with 33 additions and 36 deletions
|
@ -109,35 +109,9 @@ const sidebars = {
|
|||
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-live-codeblock',
|
||||
'api/themes/theme-search-algolia',
|
||||
],
|
||||
type: 'autogenerated',
|
||||
dirName: 'api',
|
||||
},
|
||||
],
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue