修改系统配置

This commit is contained in:
2025-03-21 14:48:28 +08:00
parent e0f4ddec67
commit 74715084bf
9 changed files with 247 additions and 78 deletions

View File

@@ -14,18 +14,76 @@
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
//tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
// But you can create a sidebar manually
/*
tutorialSidebar: [
TestSidebar: [
{
type: 'category',
label: 'Tutorial',
items: ['hello'],
label: '这是一个测试',
items: ['hello', 'intro'],
},
{
type: 'category',
label: '高精度模组',
items: [
// 文章文件名为 getting-started.md
'tutorial-basics/create-a-page',
'tutorial-basics/create-a-document',
],
},
],
*/
FindCMSidebar: [
{
type: 'doc',
id: 'findcm/intro',
label: '产品介绍' // 可选,用于自定义侧边栏显示的文本
},
{
type: 'category',
label: '账号体系',
items: [
'dummy'
],
},
{
type: 'category',
label: '终端集成',
items: [
'dummy',
// 文章文件名为 getting-started.md
//'tutorial-basics/create-a-page',
],
},
],
RchipSidebar: [
{
type: 'doc',
id: 'rchip/intro',
label: '产品介绍' // 可选,用于自定义侧边栏显示的文本
},
{
type: 'doc',
id: 'rchip/qa',
label: '常见问题' // 可选,用于自定义侧边栏显示的文本
},
// {
// type: 'category',
// label: 'Rchip',
// items: ['intro'],
// },
// {
// type: 'category',
// label: '短报文通信模组',
// items: [
// // 文章文件名为 getting-started.md
// 'tutorial-basics/create-a-page',
// ],
// },
],
};
module.exports = sidebars;