mirror of
https://github.com/halo-dev/upage.git
synced 2026-06-02 16:49:46 +08:00
86 lines
1.8 KiB
JavaScript
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;
|