Files
upage/docs/sidebars.js
2025-09-30 17:25:35 +08:00

86 lines
1.8 KiB
JavaScript

/**
* Creating a sidebar enables you to:
- create an ordered group of docs
- render a sidebar for each doc of that group
- provide next/previous navigation
The sidebars can be generated from the filesystem, or explicitly defined here.
Create as many sidebars as you want.
*/
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
tutorialSidebar: [
{
type: 'doc',
id: 'index',
label: '首页',
},
{
type: 'doc',
id: 'quick-start',
label: '快速开始',
},
{
type: 'category',
label: '部署指南',
link: {
type: 'generated-index',
title: '部署指南',
slug: 'deployment-guide',
},
items: [
'deployment/docker',
'deployment/docker-compose',
'deployment/1panel',
'deployment/source',
'deployment/logto',
'deployment/others',
],
},
{
type: 'doc',
id: 'configuration',
label: '配置参考',
},
{
type: 'category',
label: '用户指南',
link: {
type: 'generated-index',
title: '用户指南',
slug: 'user-guide',
},
items: [
'user-guide/basics',
'user-guide/home',
'user-guide/dialogue-interface',
'user-guide/share',
],
},
{
type: 'category',
label: '贡献指南',
link: {
type: 'doc',
id: 'contributing/contributing',
},
items: [
'contributing/code-of-conduct',
'contributing/ways-to-contribute',
'contributing/development-setup',
'contributing/code-standards',
'contributing/workflow',
],
},
{
type: 'doc',
id: 'faq',
label: '常见问题',
},
],
};
module.exports = sidebars;