/** * 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. */ // @ts-check /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ const sidebars = { // By default, Docusaurus generates a sidebar from the docs folder structure //tutorialSidebar: [{type: 'autogenerated', dirName: '.'}], // But you can create a sidebar manually TestSidebar: [ { type: 'category', 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: [ 'findcm/account_system' ], }, { type: 'category', label: '终端集成', items: [ 'dummy', // 文章文件名为 getting-started.md //'tutorial-basics/create-a-page', ], }, { type: 'doc', id: 'findcm/qa', label: '常见问题' }, ], XchipSidebar: [ { type: 'doc', id: 'xchip/intro', label: '产品介绍' // 可选,用于自定义侧边栏显示的文本 }, { type: 'category', label: '高精度定位模组', items: [ 'xchip/rtk/intro' ], }, { type: 'category', label: '标准精度定位模组', items: [ 'xchip/pvt/intro' ], }, { type: 'doc', id: 'xchip/qa', label: '常见问题' // 可选,用于自定义侧边栏显示的文本 }, ], 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', // ], // }, ], FindNowSidebar: [ { type: 'doc', id: 'findnow/intro', label: '产品介绍' // 可选,用于自定义侧边栏显示的文本 }, { type: 'doc', id: 'findnow/qa', label: '常见问题' // 可选,用于自定义侧边栏显示的文本 }, ], DeviceSidebar: [ { type: 'doc', id: 'device/intro', label: '产品介绍' }, { type: 'doc', id: 'device/CT20', }, { type: 'doc', id: 'device/qa', label: '常见问题' }, ], HelpSidebar: [ { type: 'doc', id: 'help/intro', label: '概念解释' // 可选,用于自定义侧边栏显示的文本 }, { type: 'doc', id: 'help/h001', label: '卫星定位原理' // 可选,用于自定义侧边栏显示的文本 }, { type: 'doc', id: 'help/qa', label: '常见问题' // 可选,用于自定义侧边栏显示的文本 }, // { // type: 'category', // label: 'Rchip', // items: ['intro'], // }, // { // type: 'category', // label: '短报文通信模组', // items: [ // // 文章文件名为 getting-started.md // 'tutorial-basics/create-a-page', // ], // }, ], }; module.exports = sidebars;